On Sat, Sep 26, 2009 at 12:12:07PM -0000, Parrot wrote: > Yes, but $(...) is the one that calls a magic built-in instead of doing > something Perl-ish. I suspect the replacement will be for $(...) to invoke > EXPR.'scalar' and then have the PAST nodes equate .ast with .scalar.
The correct replacement is to change occurrences of "$($foo)" to "$foo.ast" . If/when we retain the $(...) syntax, it will undoubtedly invoke ".item". However, invoking .item on Match objects will return the Match object itself and not any component of the Match object. The true and correct way to get at the ast object is to use ".ast". (At least that's correct for this year -- can't make any promises about 2010. :-) Pm _______________________________________________ parrot-tickets mailing list [email protected] http://lists.parrot.org/mailman/listinfo/parrot-tickets
