On Wed, Sep 08, 2004 at 02:18:38PM -0400, JOSEPH RYAN wrote: : b.) The A5 stuff is definitely the most stable part of the Perl6 : design. As far as I know, it hasn't really changed much at all over : the past 2 years. You could probably work directly off of A5 and : S5 without having to worry if the reality is much different from : the document.
The main change we've made since then is that $?foo variables are scoped to the current rule, while $foo must be declared outside the rule (presuming C<use strict>). The other change we've made since then is that named rules aren't remembered as named fields unless you put a ? inside, so that after you've done /<?foo> <ws> <?bar>/ there are potentially $0�foo� and $0�bar� fields, but no $0�ws�. That is, the above is equivalent to /$?foo:=<foo> <ws> $?bar:=<bar>/ Larry