Help for this page

Select Code to Download


  1. or download this
    if (defined $opt{w}) {
        my @data;
    ...
        }
        store(\@data, $opt{d}) or die "Can't store '%data' in '$opt{d}'\n"
    +;
    }
    
  2. or download this
     $a = ~( $b = chr(0)x 1e3 ); 
    $t=time; 
    my $x = $a ^ $b for 1 .. 1e6; 
    printf "Took %.6f seconds\n", time()-$t;;
    Took 1.297000 seconds
    
  3. or download this
    $a = ~( $b = chr(0)x 1e6 ); 
    $t=time; 
    my $x = $a ^ $b for 1 .. 1e3; 
    printf "Took %.6f seconds\n", time()-$t;;
    Took 1.645000 seconds