in reply to Re: Finding Time Difference of Localtime
in thread Finding Time Difference of Localtime
It gives you the difference with a lot more precision that whole seconds, but if that's what you care about it should eb easy to round the number.use Time::HiRes; ... my $start = Time::HiRes::time(); ... do your job ... my $stop = Time::HiRes::time(); my $duration = $stop-$start;
|
|---|