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

Re^3: How come @_ gets changed here?

by LanX (Saint)
on Jun 10, 2017 at 19:24 UTC ( [id://1192490]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How come @_ gets changed here?
in thread How come @_ gets changed here?

Wasn't ampersand bypassing prototype checks?

Edit: yep see Re: What is the point of the & sigil for function refs?

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^4: How come @_ gets changed here?
by tobyink (Canon) on Jun 11, 2017 at 09:41 UTC

    Well, it can bypass prototype checks, though in this case the sub has no prototype.

      Right, I was answering the general question if &ersand makes a difference.

      This thread drift isn't really relevant for the OP.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-25 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found