If I understand your question correctly, you could do this:
1. Create wanted object in the Start-up Action (see Parse::RecDescent documentation)
2. Fill object with parsed data
3. Return object in the startrule (if the grammar fails, undef is returned instead)
In reply to Re: Using Parse::RecDescent in an Object
by jethro
in thread Using Parse::RecDescent in an Object
by ~~David~~
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |