Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^8: Is there any difference between prototype % and @ ?

by AnomalousMonk (Canon)
on Feb 23, 2013 at 15:13 UTC ( #1020315=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub hmap (&\%) {
        my( $code, $href ) = @_;
    ...
            $code->( @_ = each %$href )
        } 1 .. keys %$href;
    }
    
  2. or download this
    >perl -wMstrict -MData::Dump -le
    "sub hmap (&\%) {
    ...
      dogma => 178,
      dogstar => 184,
    }
    

Log In?
Username:
Password:

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

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











    Results (326 votes). Check out past polls.