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

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

Thread Previous | Thread Next
Enache Adrian
February 21, 2003 14:41
Re: [perl #21321] local ${"FOO"} does not work
Message ID:
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.


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