Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: time it took script to complete

by perlcapt (Pilgrim)
on Nov 07, 2004 at 21:18 UTC ( #405936=note: print w/replies, xml ) Need Help??


in reply to time it took script to complete

Using $start = localtime(time()) returns a date-time string since it is being used in a scalar context. See localtime, gmtime, and particularly time. Better yet, read about them in Programming Perl.
perlcapt
-ben

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://405936]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2017-09-21 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (253 votes). Check out past polls.

    Notices?