in reply to Time::Local and warnings

I could not reproduce your problem on perl v5.8.3 and Time::Local ver 1.07. I get no warnings, and a different answer:
> perl -MTime::Local -we "print timelocal(0,0,0,15,6,2005),$/" ---output-- 1121410800
Your problem may be related to this note in Time::Local, Changes for 1.11

"1.11 2005-02-09 - Try to make detection of supported epoch range a little smarter.
The detection was allowing negative epochs on Win32 but apparently this doesn't work, and trying to pass a pre-epoch date in just causes a lot of warnings.
".

     "Income tax returns are the most imaginative fiction being written today." -- Herman Wouk

Replies are listed 'Best First'.
Re^2: Time::Local and warnings
by Tanktalus (Canon) on Aug 04, 2005 at 20:17 UTC

    I forwarded my original post to the author via http://rt.cpan.org, and got back that he thinks this is fixed in 1.11. So that is in agreement with your assessment - I just have to convince the infrastructure team to move up. In the meantime, I have a workaround that works.

    BTW - your output will be different based on your timezone. I am using timelocal, afterall, and not timegm ;-)