Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Seeking an example of Time::Period usage

by brusimm (Pilgrim)
on Dec 21, 2006 at 20:35 UTC ( #591185=note: print w/ replies, xml ) Need Help??


in reply to Seeking an example of Time::Period usage

Hi, I am attempting to learn Perl. I would like to ask where in the script dt->epoch would go?

I do not quite understand the remedy. Thank you.


Comment on Re: Seeking an example of Time::Period usage
Re^2: Seeking an example of Time::Period usage
by syphilis (Canon) on Dec 22, 2006 at 00:18 UTC
    I would like to ask where in the script dt->epoch would go?

    You would replace $dt->datetime with $dt->epoch (a few lines up from the end of the original code).

    Cheers,
    Rob

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2015-07-02 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls