in reply to Re: Find Execution time of perl script??
in thread Find Execution time of perl script??
#!/usr/bin/perl -w use strict; BEGIN { our $start_run = time(); } use ... use ... # all your code here my $end_run = time(); my $run_time = $end_run - our $start_run; print "Job took $run_time seconds\n";
|
---|