|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Convert time in seconds to hh::mm::ssby Anonymous Monk |
| on Mar 16, 2016 at 01:26 UTC ( [id://1157884]=note: print w/replies, xml ) | Need Help?? |
|
This works, but i have to do this a lot of times and wonder if there is a faster way, like a single calculation rather than my three here. Thanks for any help. Did you measure how fast it takes? See Devel::Profile, and then promptly forget about speeding up parse_duration
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||