On Tue, May 29, 2007 at 05:07:16PM -0300, Flavio S. Glock
wrote:
>2007/5/29, Matthijs van Duin <xmath cpan.org>:
>>(I initially tried to have lexical aliasing have
"global" effect
>>whereever that particular instance-of-lexical is
visible, but that is
>>simply not possible in Perl, so rather than doing it
inconsistently I
>>chose not to do it at all)
>
>Does Data::Bind allow this global effect?
I sincerely doubt that, since perl simply doesn't store the
neccessary
info to correctly locate all the right pads to do the
substitution in
(especially in complex cases involving closures and/or
recursion iirc)
Like I said, I tried to do it with D::A, but because I came
to the
conclusion that it can't be done correctly in all cases, I
chose to it
locally only, rather than globally-but-wrong-in-some-cases.
--
Matthijs van Duin -- May the Forth be with you!
|