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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Sorry, but ... (Score:2)
So while I'm all for backwards compatibility, I'm not going to leave such important functionality broken, nor am I going to document it as returning "days + seconds + nanoseconds, which is sort of the absolute difference, but not quite, because of leapseconds, but it did this historically, so this useless behavior will stay until the end of time".
Reply to This
Re:Sorry, but ... (Score:2)
Mine are even more explicit. Here's one from WWW::Mechanize [cpan.org]:
--
xoa
Re:Sorry, but ... (Score:2)
It has been really annoying because it now means if anyone updates DateTime and is using my module, or any other module that relies on delta_days(), the code now breaks disastrously. It would have been better to leave the function as is, and create another function along the lines of del