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
In reply to Re^2: How do I find the missing curly brace??
by LanX
in thread How do I find the missing curly brace??
by harangzsolt33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |