Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 perusing the Monastery: (13)
As of 2015-07-31 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (275 votes), past polls