in reply to Re: How do I find the missing curly brace??
in thread How do I find the missing curly brace??

consider this convoluted example (Perl would catch this anyway)
sub bla { print "yadda"; my %hash = { foo => 1, ); }

the problem is in line 3, but your code will report line 1.

and if you add a # } after a comment in line 2 it won't report anything.

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery