develooper Front page | perl.perl5.porters | Postings from February 2003

Re: [perl #21321] local ${"FOO"} does not work

Thread Previous | Thread Next
Rafael Garcia-Suarez
February 21, 2003 06:15
Re: [perl #21321] local ${"FOO"} does not work
Message ID:
Jarkko Hietaniemi <> wrote:
> > local ${"FOO$BAR"} should be allowed IMHO (except under "strict refs" of
> You are braver than me :-)

Of course, this implies that C<local $$x> should also be allowed when $x
is not a reference. And this implies in turn that the error "Can't localize
through a reference" should become run-time instead of compile-time.

> > course). Note that local *{"FOO$BAR"} is allowed (and appears to
> > work). What do people think ?

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About