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

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

Thread Previous | Thread Next
From:
A . Bergman
Date:
February 21, 2003 07:05
Subject:
Re: [perl #21321] local ${"FOO"} does not work
Message ID:
DAF7E788-45AD-11D7-8A2A-003065D64CBE@nanisky.com

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

>
> 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  .

Arthur


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