Tybalt, this arithmatic evaluator of your is much simpler and more useful than what I've managed to find on CPAN.
I suggest you create a simpler interface for it - such as my $ans = expr($expression); - then make it in to a CPAN module.
In reply to Re^4: Regular Expression Test
by RonW
in thread Regular Expression Test
by leoberbert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |