[guest - Mon Aug 2 21:18:58 2004]:
Show quoted text> After running 'nmake' I tried t/test.t.
> Note: Local time is wrong. It is actually 11:15:15.
>
> C:\perl-modules\Archive-Zip-1.12_03>perl t/test.t
> 1..123
> # Running under perl version 5.008004 for MSWin32
> # Win32::BuildNumber 810
> # Current time local: Tue Aug 3 01:15:15 2004
> # Current time GMT: Tue Aug 3 01:15:15 2004
> # Using Test.pm version 1.25
[snip]
Show quoted text> Use of uninitialized value in integer addition (+) at
> c:/Perl/lib/Time/Local.pm line 76.
> Use of uninitialized value in integer multiplication (*) at
> c:/Perl/lib/Time/Local.pm line 76.
> Use of uninitialized value in integer multiplication (*) at
> c:/Perl/lib/Time/Local.pm line 76.
I don't know. I don't think this is an A::Z problem, and I can't do
anything to fix it AFAICT.
Sounds like a Time::Local problem, since:
(a) I'm passing numbers to it, not undefs (you'd see an earlier error if
there were any undefs since I'm doing math on them), and
(b) it says that it does range checks on the arguments to timelocal().
Are you sure that you have the most recent version of this module?
Does the Time::Local test suite run OK?
What happens when you say:
perl -W -MTime::Local -e 'print Time::Local::timelocal( localtime() )'
If you see the same things, please take it up with the module maintainer.
Can you run the debugger on it and see what's happening?
Thanks,
Ned