I forgot to include the error messages from the test. They are pasted below.
Note that $VERSION = '1.07'; works just fine, but $VERSION = '1.10'; does NOT work, and gives these error messages:


C:\Documents and Settings\malcolm\My Documents\proj_bu_2003\routines>test_timelocal.pl
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.
Use of uninitialized value in pack at C:/perl/lib/Time/Local.pm line 67.
Use of uninitialized value in pack at C:/perl/lib/Time/Local.pm line 67.
Use of uninitialized value in integer addition (+) at C:/perl/lib/Time/Local.pm line 68.
Use of uninitialized value in integer addition (+) at C:/perl/lib/Time/Local.pm line 69.
Use of uninitialized value in integer addition (+) at C:/perl/lib/Time/Local.pm line 67.
epoch_seconds is 1105036728


-------- Original Message --------
Subject:        timelocal error messages
Date:   Mon, 24 Jan 2005 17:03:42 -0500
From:   the.noonings <[EMAIL PROTECTED]>
To:     datetime@perl.org



Hello,

Can someone confirm that the timelocal module is having problems in ActiveState perl, v5.8.6 built for MSWin32-x86-multi-thread, build 811? The test script is below. There seem to be a lot of error messages.

#!/usr/bin/perl -w

use Time::Local qw(timelocal);

use strict;

my $year   = "105";
my $month  =   "01";
my $day    =   "06";
my $hour   =   "13";
my $minute =     "38";
my $second = "48";

my $epoch_seconds = timelocal($second, $minute, $hour, $day, $month, $year);
print ("epoch_seconds is $epoch_seconds\n");





Reply via email to