Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^7: Why doesn't Perl provide %_ as the hash equivalent of @_ in subs? (ugly++)

by BrowserUk (Pope)
on Sep 28, 2013 at 07:02 UTC ( #1056110=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub sansNames{ ++$_ for @_; };;
    sub withNames{ local %_ = @_; ++$_ for values %_; };;
    ...
          Rate    a    b
    a  35072/s   -- -71%
    b 122333/s 249%   --
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056110]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2016-06-28 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (349 votes). Check out past polls.