Help for this page

Select Code to Download


  1. or download this
        my $start_run = time();
        use strict;
    ...
        my $end_run = time();
        my $run_time = $end_run - $start_run;
        print "Time taken: ".$run_time." sec\n";
    
  2. or download this
    use strict;
    use warnings;
    ...
    my $end_run = time();
    my $run_time = $end_run - $start_run;
    print "Time taken: ".$run_time." sec\n";