Help for this page

Select Code to Download


  1. or download this
    C:\>perl -MO=Deparse -we "$a = 'doit'; print \"hi\n\" if $a eq 'doit'"
    $a = 'doit';
    ...
        print "hi\n";
    }
    -e syntax OK
    
  2. or download this
    #!perl -w
    use strict;
    ...
    Benchmark: running normal, reverse, each for at least 5 CPU seconds...
        normal:  5 wallclock secs ( 5.27 usr +  0.00 sys =  5.27 CPU) @ 15
    +65443.64/s (n=8249888)
       reverse:  4 wallclock secs ( 5.11 usr +  0.00 sys =  5.11 CPU) @ 15
    +85628.38/s (n=8102561)