On Wed, May 11, 2005 at 08:30:42AM -0700, Larry Wall wrote: > On Wed, May 11, 2005 at 05:48:59PM +1000, Damian Conway wrote: > : But that's only the opinion of one(@Larry), not of $Larry. > > Let's go 0-based and make $0 =:= $/[0] so that $/[] is all the parens. > Our old $0 (P5's $&) could be $<> instead, short for $<MATCH> or some > such.
Both 0-based $0 etc and $<> are now implemented in Pugs. > It's already the case that p5-to-p6 is going to have a *wonderful* > time translating $7 to $1[2][0]... > > I wonder how much call there will be for a rule option that uses P6 > syntax but P5 paren binding with "push" semantics. Should it be an rule option, or simply an alternate way to address the content in $/? Something like $/.flattened_matches[10], perhaps? Thanks, /Autrijus/
pgpoESxp72tIn.pgp
Description: PGP signature