Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: localtime parse within hash init

by Laurent_R (Canon)
on Nov 04, 2014 at 07:19 UTC ( #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? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-08-12 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?