$your_code =~ s/clock/time/g;
...and then you should get something like:
perl nano foo.pl It took 0.01027512550354 second
In reply to Re: More Detailed Timing than Time::HiRes' clock method
by McDarren
in thread More Detailed Timing than Time::HiRes' clock method
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |