I think you want a single minus sign for the exponent arithmetic. The final print needs some work as what it displays is misleading.
(You also need something like #!/usr/local/bin/perl as your first line.)
In reply to Re: syntax error at labmonkey.pl line 1, at EOF
by apl
in thread syntax error at labmonkey.pl line 1, at EOF
by theredqueentheory
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |