Front page | perl.perl6.language |
Postings from September 2001
Re: What's up with %MY?
Thread Previous
|
Thread Next
From:
Me
Date:
September 4, 2001 15:55
Subject:
Re: What's up with %MY?
Message ID:
06b201c13593$834e5ca0$6501a8c0@nash1.tn.home.com
> > What about if the symbol doesn't exist in the caller's scope
> > and the caller is not in the process of being compiled? Can
> > the new symbol be ignored since there obviously isn't any
> > code in the caller's scope referring to a lexical with that
> > name?
>
> No. Because some other subroutine called from the caller's scope might
> also access caller().{MY}. In fact, you just invented a new pattern,
in
> which a set of subroutines called within a scope can communicate
invisibly
> but safely through that scope's lexical symbol table.
Foxy variables. Nice.
Thread Previous
|
Thread Next