Help for this page

Select Code to Download


  1. or download this
    use Benchmark qw(cmpthese);
    
    ...
    do_var 12.9/s    95%     --   -46%   -46%
    plain  23.9/s   261%    85%     --     0%
    do     23.9/s   261%    85%     0%     --
    
  2. or download this
    package Inline::Blocks;
    
    ...
    at your option, any later version of Perl 5 you may have available.
    
    =cut
    
  3. or download this
    use Inline::Blocks;
    
    ...
        my ($foo) = @_;
        ++$foo;
    }
    
  4. or download this
    use Inline::Blocks;
    print uppercaseIncrementAsString(('a', 'b', 'c', 'd', 'e', 'f')), "\n"
    +;
    ...
        my($foo) = @_;
        ++$foo;
    }