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

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

Thread Previous | Thread Next
From:
Enache Adrian
Date:
February 21, 2003 14:41
Subject:
Re: [perl #21321] local ${"FOO"} does not work
Message ID:
20030221224059.GA12589@ratsnest.hole
On Fri, Feb 21, 2003 at 05:11:59PM -0500, Mark Jason Dominus wrote:
> I think we may be discussing different things.  I said nothing at all
> about 'local'.  

The subject of this thread says: 'local ${"FOO"} does not work' :-)

... and it will not work even if the peephole optimizer reduce ${"FOO"}
to ex. gvsv *FOO - because the ckeck which causes Perl to die is made
_before_ the peephole optimizer has the chance to optimize anything.

Please correct me if I'm wrong.

Adi

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About