>>>>> "SC" == Simon Cozens <[EMAIL PROTECTED]> writes:
SC> On Fri, Sep 15, 2000 at 05:56:36AM -0000, Perl6 RFC Librarian wrote:
>> There is no way to turn obtain the value of $x from the value of $y.
>> In other words, while $foo and $bar were interpolated into $x, they
>> were not interpolated into $y. It would be nice to get Success! from:
SC> sub interpolate {eval "\"@_\""}
SC> Never say "there is no way". There's *always* a way, and 99% of the time it
SC> doesn't need to go in core.
I thought he was asking for evaluating until nothing is left to interpolate.
Something akin to:
$x = eval "$x" while $x =~ /[$@]/;
But more intelligent.
<chaim>
--
Chaim Frenkel Nonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183