Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by BrowserUk (Pope)
on Feb 24, 2013 at 08:37 UTC ( #1020381=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub hpairs (\%) {
        my $href = shift;
    ...
    __END__
    admin earns 600
    boss earns 1000
    
  2. or download this
    sub hpairs (\%) {
        use enum 'KEY', 'VAL';
    ...
    } grep {
        $_->[VAL] > 500
    } hpairs %salary;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020381]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2018-07-19 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (414 votes). Check out past polls.

    Notices?