C
charlieskc
Hi all,
I am try to test my perl script, with just a few line:
use Time::Local 'timelocal_nocheck'; {
# The 365th day of 1999
print scalar localtime timelocal_nocheck 0,0,0,365,0,99;
}
but when I compile, it prompts error that "Global symbol "%Config"
requires explicit package at at C:/Perl/lib/Time/Local.pm line 27."
in C:/Perl/lib/Time/Local.pm line 27: my $MaxInt = ((1<<(8 *
$Config{intsize} - 2))-1)*2 + 1;
I think I set something wrong in the environment setting, could you
please figure out why I have such error occur? many thanks!!!
Regards,
Charlie
I am try to test my perl script, with just a few line:
use Time::Local 'timelocal_nocheck'; {
# The 365th day of 1999
print scalar localtime timelocal_nocheck 0,0,0,365,0,99;
}
but when I compile, it prompts error that "Global symbol "%Config"
requires explicit package at at C:/Perl/lib/Time/Local.pm line 27."
in C:/Perl/lib/Time/Local.pm line 27: my $MaxInt = ((1<<(8 *
$Config{intsize} - 2))-1)*2 + 1;
I think I set something wrong in the environment setting, could you
please figure out why I have such error occur? many thanks!!!
Regards,
Charlie