I guess it depends on what you mean by "External". The Benchmark module is part of the core Perl distro, and does exactly what you want. (from the pod):
use Benchmark; $t0 = new Benchmark; # ... your code here ... $t1 = new Benchmark; $td = timediff($t1, $t0); print "the code took:",timestr($td),"\n";
In reply to Re: Get Time Diff *without* Date::Manip
by ehdonhon
in thread Get Time Diff *without* Date::Manip
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |