Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Re: Re: local vs my

by davorg (Chancellor)
on Sep 03, 2002 at 08:10 UTC ( #194703=note: print w/ replies, xml ) Need Help??

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

Excellent point. But that is, of course, a relatively new innovation :)


"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Comment on Re: Re: Re: local vs my
Replies are listed 'Best First'.
Re^4: local vs my
by Aristotle (Chancellor) on Sep 03, 2002 at 13:23 UTC
    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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2015-12-01 10:25 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (798 votes), past polls