I was testing something else, when I discovered an expression that generates tons of warnings:
my $exp = 3-(4+5);
I'd also be interested in seeing a right-associative operator added.
my $exp = 4**3**2; # = 4**9 = 262144
In reply to Re: a timid approach to parsing arithmetic expressions in perl
by ikegami
in thread a timid approach to parsing arithmetic expressions in perl
by spx2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |