in reply to How can I keep track of the execution time of a script?
actual time at this valuation minus the special Perl VAR holding the scripts invocation time gives back $runningtime as a string "hh:mm:ss"my ($sec,$min,$hour,@garbage) = gmtime(time - $^T); my $runningtime = sprintf("%02d:%02d:%02d", $hour, $min, $sec);
|
|---|