Hello, group! It is, like all other days, a great day to be a Perl programmer. Can anyone shed some light on the following?
#!/usr/bin/perl use warnings; use strict; use Time::Local; # localtime cannot handle year 1903, but timelocal can print scalar timelocal(0,0,0, 31, 11, 2003), "\n"; print scalar timelocal(0,0,0, 31, 11, 1903), "\n"; print scalar localtime timelocal(0,0,0, 31, 11, 2003), "\n"; print scalar localtime timelocal(0,0,0, 31, 11, 1903), "\n"; Output: 1072846800 -1830643200 Wed Dec 31 00:00:00 2003 Use of uninitialized value in print at E:\Documents\Perl\scratch.pl line 11. Thanks, ZO -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
