Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Using $_ as a temp var, especially in functions

by BrowserUk (Patriarch)
on Oct 23, 2002 at 12:05 UTC ( [id://207364]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
    ## Updated: The next line was (erroneously) local $_ = $thingToAlias, 
    ...
        s/regex2/modification/;
        #other stuff
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found