Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: localtime parse within hash init

by Laurent_R (Canon)
on Nov 04, 2014 at 07:19 UTC ( [id://1105981]=note: print w/replies, xml ) Need Help??


in reply to localtime parse within hash init

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1105981]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-25 11:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found