line 8 - open (DATA, $file); line 9 - $num = ; line 10 - close (DATA);
Line 9 has a syntax error. The variable $num is not being assigned anything. The semicolon (';') tells Perl where the end of the statement is. Hence saying $num = doesn't mean anything to the compiler, because nothing is being assigned.
In reply to Re^3: I'm getting a 500 Internal Server Error - how can I make this work?
by monarch
in thread I'm getting a 500 Internal Server Error - how can I make this work?
by linex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |