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

Re: Don't local(@_)

by hossman (Prior)
on Jan 13, 2002 at 06:50 UTC ( [id://138381]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
         {
             local $var = $newvalue;
             some_func();
             ...
         }
    
  2. or download this
         {
             $oldvalue = $var;
    ...
         continue {
             $var = $oldvalue;
         }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://138381]
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: (2)
As of 2024-06-16 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.