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

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

Thread Previous | Thread Next
A . Bergman
February 21, 2003 07:05
Re: [perl #21321] local ${"FOO"} does not work
Message ID:

On fredag, feb 21, 2003, at 15:09 Europe/Stockholm, Ronald J Kimball 

> perldoc perlref:
>        Only package variables (globals, even if localized) are
>        visible to symbolic references.  Lexical variables
>        (declared with my()) aren't in a symbol table, and thus
>        are invisible to this mechanism.
> Ronald

Indeed that is how it is, but describing it as a limitation because 
they live in the symbol table can't be true, why not just say it's a 
design decision  .


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