in reply to calculate the time taken to run a script
Take the time at the start and end of the program and subtract the first from the second.
You may want to look at Time::HiRes if you want sub-second accuracy.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: calculate the time taken to run a script
by Kanji (Parson) on Nov 23, 2005 at 16:56 UTC |