You know that you can get the parse tree from Parse::RecDescent with the <autotree> directive? This should give you all the data that is available in the structure and content of your source file.
Maybe you can show us a short, workable example of maybe 20-35 lines that shows what you have and where you are trying to get to?
In reply to Re^2: Parse grammar via RecDescent parser
by Corion
in thread Parse grammar via RecDescent parser
by the_dark_lord
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |