http://www.perlmonks.org?node_id=194703


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

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

--
<http://www.dave.org.uk>

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

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.