in reply to Re^2: 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, oiskuu.

Nice output. While I do have stat, and lstat for that matter, and of course, perl. I don't have perf -- at least not by name. Probably have something by another name (I'm using *BSD).

Which means, for the sake of portability, I should use something derived from Perl itself. Though
perl -c
seems to provide some interesting statistics. :)

Thanks for the informative response, oiskuu.

--Chris

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