XP is just a number | |
PerlMonks |
Re^2: Breaking The Rules IIby tsee (Curate) |
on Jul 05, 2007 at 09:55 UTC ( [id://625027]=note: print w/replies, xml ) | Need Help?? |
I forgot to mention how you'd actually use that specific "wheel" to evaluate expressions. I know it's not the point of this meditation to just use the existing tools, but comparison might still be sensible.
The output would look like this:
That last bit shows that the parser is actually intended to be used with variables, too. So it's not a parse error but an evaluation error. Switching to using the YAPP based parser is rather straightforward, too. Just add "implementation => 'Yapp'" to the call to the constructor. Cheers,
In Section
Meditations
|
|