Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by kcott (Archbishop)
on Jun 10, 2017 at 19:26 UTC ( [id://1192491]=note: print w/replies, xml ) Need Help??


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

You raise a valid point and I'm definitely not "complaining" about anything. Like you, I "usually advise against" that usage.

My intention was to point out, quite unequivocally, that there was a difference between

&sub(@args)

and

sub(@args)

Reviewing what I originally wrote, it's perhaps not immediately obvious that, without a valid reason for writing

&sub(@args)

it would generally be preferable to write

sub(@args)

Thankyou for raising this point and providing an opportunity for clarification.

— Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-23 19:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found