Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2015-09-04 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (137 votes), past polls