Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Beware of global variables, for they may prevent your destruction.

by dsheroh (Prior)
on Nov 26, 2009 at 09:15 UTC ( #809511=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    our $foo_global = $foo;
    $obj->method_that_needs_foo_but_takes_no_params;
    undef $foo_global;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2016-10-01 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (8 votes). Check out past polls.