Match is the object that holds scope-local state; i.e. state that gets allocated anew whenever you enter a new rule or parenthesized group. This is approximately the Match object that userland folks will see, but it has some other clutter because of unclear design.
Match
$.from - The place where this subrule/group started. $.to - The place where this subrule/group ended. C<Medium> represents positions I<between> elements, so if you're thinking of these as numbers, this will be one past the last character matched. $.capture_num - Numeric captures: $/[0], $/[1], ... $.capture_name - Named captures: $/<foo>, $/<bar>, ... $.multidex - The "quantifier index". This is an array that is an index into the multidimensional arrays of the match object, telling captures where in the deep structure to store what they've captured.
To install Perl6::Pugs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl6::Pugs
CPAN shell
perl -MCPAN -e shell install Perl6::Pugs
For more information on module installation, please visit the detailed CPAN module installation guide.