nisha has asked for the wisdom of the Perl Monks concerning the following question:
The output is in seconds; which needs further conversion bby dividing by 60 etc. Could you please help me find an easier way to calculate the elapsed time. Please help. Thanks, Nisha$sttime = time; sleep(60); $entime = time; $elapse = $entime - $sttime; print "Elapsed time : $elapse";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Elapsed time in perl
by McDarren (Abbot) on Dec 26, 2005 at 09:44 UTC | |
by nisha (Sexton) on Dec 26, 2005 at 10:00 UTC | |
|
Re: Elapsed time in perl
by tirwhan (Abbot) on Dec 26, 2005 at 09:48 UTC | |
|
Re: Elapsed time in perl
by ambrus (Abbot) on Dec 26, 2005 at 12:29 UTC | |
|
Re: Elapsed time in perl
by blazar (Canon) on Dec 27, 2005 at 13:46 UTC |