Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Understanding arguments to subroutines

by cdarke (Prior)
on May 14, 2012 at 12:45 UTC ( #970418=note: print w/replies, xml ) Need Help??


in reply to Re^2: Understanding arguments to subroutines
in thread Understanding arguments to subroutines

The hyphen is a bit of a throw-back to olden-times. This originally meant that the caller did not need to quote the keys although that has not been required since version 5.6 and that functionality passed to the fat comma. The hyphen is not stripped off by perl, it is passed in @_ so the subroutine has to remove it.
  • Comment on Re^3: Understanding arguments to subroutines

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://970418]
help
Chatterbox?
[choroba]: Good morning!
[Discipulus]: good morning choroba!
[Corion]: Hi choroba, Discipulus! I hope you had a good weekend
erix looks for a red-herring joke but can't find one
Discipulus has worked physically and he rediscovered he is no more wont..
erix instead casts a baleful eye on another mysql q.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-01-23 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (192 votes). Check out past polls.