in reply to Unexpected parser error
You forgot to put the parentheses on the end of function(). Perl started parsing function( / 4; and failed when it ran out of file while parsing the regular expression 4;. You could also have used a prototype on function but those are pretty much always a bad idea.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unexpected parser error
by saintmike (Vicar) on Feb 22, 2007 at 07:15 UTC | |
by diotalevi (Canon) on Feb 22, 2007 at 07:19 UTC | |
|
Re^2: Unexpected parser error
by educated_foo (Vicar) on Feb 22, 2007 at 06:21 UTC | |
by diotalevi (Canon) on Feb 22, 2007 at 06:48 UTC |