use Benchmark::Timer; $t = Benchmark::Timer->new(skip => 1); foreach my $field (sort @$field_order) { $t->start('tag'); print "\t
##
$ perl -MDevel::Profiler your_script.pl
####
$ dprofpp
####
# in httpd.conf
PerlModule Devel::Profiler::Apache;
# or in startup.pl
use Devel::Profiler::Apache;