in reply to getting system time
(which can be written as(my $sec, my $min, my $hour, my $mday, my $mon, my $year, my $wday, my + $yday, my $isdst ) = localtime(time);
) under Time::localtime you should usemy ( $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst ) = l +ocaltime(time);
etc.my $localtime = localtime(time); my $sec = $localtime->sec; my $min = $localtime->min;
|
|---|