Just another Perl shrine | |
PerlMonks |
Get Time Diff *without* Date::Manipby Anonymous Monk |
on Nov 17, 2003 at 17:02 UTC ( [id://307729]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
G'Day Monks, I have a script that does some complex math and parsing. I need to be able to tell how long it took to do it's work. This should be relatively simple: just get a timestamp before I call the sub that does the work, then get another after, and use Date::Manip or Date::Calc to figure out the difference between the two. However, I'm in a situation where I am strictly not allowed to use any external modules. Is there a perlish way to accomplish this without using any modules? I thought perhaps someone had run into this before and could point me to a recipe...
Back to
Seekers of Perl Wisdom
|
|