Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: local vs my

by Aristotle (Chancellor)
on Sep 03, 2002 at 13:23 UTC ( #194758=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: local vs my
in thread local vs my

The innovation is only in the autovivification. It was awkwardly possible before as well, you just had to do the job yourself:

use Symbol; my $fh = gensym; open $fh, $filename;

Makeshifts last the longest.


Comment on Re^4: local vs my
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-11-29 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (204 votes), past polls