Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • You might not have noticed the big section in the change log labelled "BACKWARDS INCOMPATIBILITIES". And this change occurred back in 0.17. Unfortunately, the previous behavior when subtracting one datetime from another was broken. It _claimed_ to be returning the absolute difference between two datetimes, but it wasn't, because days are of varying lengths. In fact, the absolute difference between two datetimes can only be expressed in seconds + nanoseconds.

    So while I'm all for backwards compatibility,
    • the big section in the change log labelled BACKWARDS INCOMPATIBILITIES

      Mine are even more explicit. Here's one from WWW::Mechanize [cpan.org]:

      0.62    October 7, 2003  8:46pm
              [THINGS THAT MIGHT BREAK YOUR CODE]
              * The parms for find_link()'s url_regex and text_regex must now
                be actual regex objects, as in qr// objects.  They can't just
                be little text strings.  If this is a big bummer, let me know.
      --

      --
      xoa