Help for this page

Select Code to Download


  1. or download this
    use Benchmark qw(cmpthese);
    
    ...
                   Rate predeclare  nodeclare
    predeclare  89621/s         --       -19%
    nodeclare  110466/s        23%         --
    
  2. or download this
    my $foo = "a string";
    print "\$foo is $foo\n";
    ...
    $foo is 2
    $foo is 3
    $foo is a string