It's possible to get P::RD to dump out the generated code into a file (rather than having it generated on the fly each time). You might try this and look at the code generated for your "dollar" rule.
## Turn the grammar in file grammar.txt into MyGrammar.pm $ perl -MParse::RecDescent - grammar.txt MyGrammar
--
We're looking for people in ATL
In reply to Re: Parse::RecDescent and dollar sign
by Fletch
in thread Parse::RecDescent and dollar sign
by unk1911
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |