After you add that missing semicolon, you might want to look at single quotes around a variable name towards the end.
In reply to Re: syntax error at example.pl line 1
by ExReg
in thread syntax error at example.pl line 1
by reichktr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |