Help for this page

Select Code to Download


  1. or download this
    sub foo {
        my $t0 = Benchmark->new();
    ...
        my $t1 = Benchmark->new();
        say "bar() took" . timestr(timediff($t1, $t0));
    }
    
  2. or download this
    sub foo {
        say "Starting foo() with yadda";
    ...
        say "Now munging";
        say "Done with foo()";
    }
    
  3. or download this
    my $DEBUG = 1;
    
    ...
              say $msg;
         }
    }