in reply to Re: How can one best measure compile time of their Perl script?
in thread How can one best measure compile time of their Perl script?

Thanks for your response, and your example, kcott.

Indeed, I understand the "varying times" situation. While I'm fairly familiar with perlmod. I appreciate your pointing those sections out.

Reason for asking; is that I had an inclination to add a timer to a page template I had just created, and wanted to see how it performed, compared to the one I had been using. It occurred to me, given that there are so many different Time related Modules available. Is/would there be a better one than the one(s) I had chosen. If so. How would I know (without a great deal of bench testing). It all seemed so impractical. Then, as I thought how one should be implemented. I figured, surely I'm not the only one that has had to deal with this. So I searched PerlMonks. Then based on the results. Decided to see if I could discover, or reach some consensus on this.

I think, given the input you, and others have provided:

Thank you again, kcott for your helpful reply.

--Chris

#!/usr/bin/perl -Tw
use Perl::Always or die;
my $perl_version = (5.12.5);
print $perl_version;
  • Comment on Re^2: How can one best measure compile time of their Perl script?