Hi Jenn,


practicalp...@gmail.com wrote:
What's the standard way to calculate a subroute's executed time in Perl?
Thanks in advance.


I don't know what's the standard way, but I use the times function and get the user time before and after the subroutine and then subtract.

http://perldoc.perl.org/functions/times.html

Ray


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to