Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Ron Savage
November 5, 2004, 3:09 pm
rate this thread
This is a note about the behaviour of Time::Local (under Windows) and problems
with modules such as Archive::Zip, which use Time::Local.
During testing, you will see many messages like this:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Skip blib\lib\Time\Local.pm (unchanged)
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t\Local.t
t\Local....Use of uninitialized value in integer addition (+) at C:\Perl-modules
\Time-Local-1.10\blib\lib/Time/Local.pm line 76.
Change file 152 of Local.pm from:
local ($Min, $Min) = _zoneadjust($Min, $Min, $MinInt);
local ($Min, $Min) = _zoneadjust($Min, $Min, 0);
and all the uninitialized warnings are fixed.
It's clear the minimum value acceptable to localtime is 0, not min int.
I've previously reported this via RT (http://rt.cpan.org/) 2004-08-02 under the
Test failures for V 1.10 under Perl 5.8.4 & WinXP
and have just now added the above to the ticket.
Ron Savage, firstname.lastname@example.org on 5/11/2004