Tommy Grav wrote:
print $refstars[1][0] ; # <- This is line 38
However this code returns an error I do not understand
Missing right curly or square bracket at refstar.pl line 38, at end
of line
syntax error at refstar.pl line 38, at EOF
Execution of refstar.pl aborted due to compilation errors.
Actually, that's only line 20 of what you posted. The code you posted
compiles without error, so the problem is somewhere else. The error
message is farily self-explanatory; you appear to have an opening brace
somewhere that isn't closed.
--
Well I can't stop here all day...I'm on a cycling tour of North Cornwall!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>