Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Side effect of passing matched values by reference

by puterboy (Scribe)
on Feb 21, 2013 at 18:23 UTC ( [id://1019994]=note: print w/replies, xml ) Need Help??


in reply to Re: Side effect of passing matched values by reference
in thread Side effect of passing matched values by reference

Of course - that was the solution I used. My point was just that it wasn't obvious (at least to me) that $1 acts like a global variable in that way...
  • Comment on Re^2: Side effect of passing matched values by reference

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found