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

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

Thread Previous | Thread Next
Chip Salzenberg
February 22, 2003 14:32
Re: [perl #21321] local ${"FOO"} does not work
Message ID:
According to Mark-Jason Dominus:
> Perhaps the best way to address this would be to extend the peephole
> optimizer to optimize ${"COMPILE_TIME_CONSTANT"} to

That would defeat a coder's deliberate choice to delay symbol table
lookup until runtime, which can be a vitally important thing to do
when manupulating packages, especially for aliasing purposes.
Chip Salzenberg         - a.k.a.  -        <>
         "It furthers one to have somewhere to go."

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