Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by AnomalousMonk (Abbot)
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 meditating upon the Monastery: (7)
As of 2014-12-29 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (186 votes), past polls