in reply to Re^2: Why am I getting "syntax error at Funcy.pl line 18, near "$barney return" ?
in thread Why am I getting "syntax error at Funcy.pl line 18, near "$barney return" ?
when you you have a syntax error indicating the last line of the program, it is very often the case that the actual error is somewhere earlier, sometimes much earlier, in the code.
In these cases, the error is quite often a missing semi-colon, a missing closing quote mark for a string, a missing closing parenthesis or square bracket, and so on.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why am I getting "syntax error at Funcy.pl line 18, near "$barney return" ?
by prospect (Acolyte) on Jul 24, 2017 at 09:06 UTC |