I don't see anything wrong with the first two. Your output is actually the same as the expectations you provided.
In reply to Re^3: Perl's bad at arithmetic?
by Eily
in thread Perl's bad at arithmetic?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |