Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 cooling their heels in the Monastery: (12)
As of 2014-07-24 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls