Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Understanding arguments to subroutines

by cdarke (Prior)
on May 14, 2012 at 12:45 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://970418]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-18 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found