Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Seeking an example of Time::Period usage

by brusimm (Pilgrim)
on Dec 21, 2006 at 20:35 UTC ( [id://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

Replies are listed 'Best First'.
Re^2: Seeking an example of Time::Period usage
by syphilis (Archbishop) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://591185]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-03-29 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found