SPUG: Date::Manip infinite loop
Ronald J Kimball
rjk-spug at tamias.net
Sat Jan 12 20:21:28 PST 2013
On Sat, Jan 12, 2013 at 02:36:35PM -0800, Joel Grow wrote:
> Hello SPUG gurus,
>
> I'm stumped as to why the code below gets into an infinite loop on
> November 4, 2012. I tried starting $current_date at Jan 1, 2011, and it
> gets into an infinite loop on November 6, 2011. This is on a linux box
> running perl 5.10.1. When I run it on another linux box running 5.8.8,
> it works fine. Any idea what's going on? Thanks!
Daylight Saving Time ended on November 4 in 2012, and on November 6 in
2011. Somehow Date::Manip is not handling this correctly when adding a
day.
Ronald
More information about the spug-list
mailing list