in reply to Using Parse::RecDescent in an Object
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Parse::RecDescent in an Object
by ~~David~~ (Hermit) on Jun 10, 2010 at 18:32 UTC |