Just add the following line any where in your Perl script and it will print its time of execution right at the end:
# This calculates the time of execution of the Perl script.
END {warn "\nTime of execution - ", time - $^T, " second(s)\n"}
Sunday, January 10, 2010
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment