We don't bite newbies here... much | |
PerlMonks |
Re^3: More Misleading Compiler Error Messagesby ikegami (Patriarch) |
on Aug 02, 2006 at 04:57 UTC ( [id://565155]=note: print w/replies, xml ) | Need Help?? |
It doesn't realize the warning is related to the syntax error. Given
the compile will issue both a warning (Warning: Use of "shift" without parens is ambiguous) and a syntax error (syntax error). As far as perl was concerned, it was the same situation with your code. Missing and extraneous closers (closing quotes, closing curlies, closing brackets, etc) are notoriously noisy errors. If you get a lot of unusual errors/warnings, chances are that's your problem.
In Section
Meditations
|
|