Of course, the problem with a missing right bracket is that perl keeps looking for it till it reaches the end of the file. So that damned error _always_ gives the last line! The best bet is a syntax sensitive editor. Though come to think of it it could be a good use for
Text::DelimMatch...
(It
would be nice if perl reported the line of the left bracket, but I guess that would be yet more complications in the parser.)
 
p