Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: Local for lexicals

by LanX (Saint)
on Aug 11, 2009 at 00:11 UTC ( [id://787446]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Local for lexicals
in thread Local for lexicals

because $_[0] is an alias and $x is only a copy, he wants $x to be an alias of the first arg!

see explanation of second code example in Re^3: Local for lexicals

JadeNB should really post better test cases to avoid confusion!

Cheers Rolf

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-18 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found