To see how it could/should be done have a look at the demo_calc.pl example that comes the Parse::RecDescent distro. It demonstrates almost exactly what you are trying to do here.
--
John.
In reply to Re: Parse::RecDescent without parentheses
by jmcnamara
in thread Parse::RecDescent without parentheses
by hsmyers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |