Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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

Replies are listed 'Best First'.
Re^2: Seeking an example of Time::Period usage
by syphilis (Chancellor) 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?
thezip vouches for that, but then forgets what he was vouching for...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2018-06-21 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (118 votes). Check out past polls.

    Notices?