sn8776
asked on
problem with localtime
local($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime;
I tried the code line above.
but all I got is just something like
$sec=Time::tmARRAY(...)
What is wrong about this ?
I tried the code line above.
but all I got is just something like
$sec=Time::tmARRAY(...)
What is wrong about this ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
local($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime;
ought to work too. why do you believe you got something like $sec=Time::tmARRAY(...)?
ought to work too. why do you believe you got something like $sec=Time::tmARRAY(...)?
ASKER
Solved ... anyway thanks u all.
my($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime;
What else is in your code.... Ulpp. You could also be using an ancient ActiveState