Perl: the Markov chain saw | |
PerlMonks |
Re: localtime parse within hash initby Laurent_R (Canon) |
on Nov 04, 2014 at 07:19 UTC ( [id://1105981]=note: print w/replies, xml ) | Need Help?? |
The Time::localtime and Time::gmtime modules give you direct access by name to the time components. I can't test right now if they work in your context, but I think they should, since they appear to return a hash or probably rather a blessed reference to a hash.
In Section
Seekers of Perl Wisdom
|
|