Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

RFC: Inline::Blocks or inline as a keyword?

by shmem (Chancellor)
on Jul 30, 2018 at 06:26 UTC ( #1219450=perlmeditation: print w/replies, xml ) Need Help??

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;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://1219450]
Approved by Athanasius
Front-paged by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2020-02-26 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (117 votes). Check out past polls.

    Notices?