good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: calculate the time taken to run a scriptby Kanji (Parson) |
on Nov 23, 2005 at 16:56 UTC ( [id://511175]=note: print w/replies, xml ) | Need Help?? |
Perl already keeps track of start time for you in $^T, so unless you're doing something really funky, you can just subtract that from the current time to get elapsed time.
--k.
In Section
Seekers of Perl Wisdom
|
|