Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Missing right curly or square bracketby Laurent_R (Canon) |
on Mar 11, 2015 at 18:57 UTC ( [id://1119685]=note: print w/replies, xml ) | Need Help?? |
I would advise you to indent your code consistently and to move parts of your code into subroutines. It will be much easier to track down where the problem is.
If worse comes to worse and you still don't find where the problem is, then make a working copy of your code, and start commenting out or removing parts of the code and see if it compiles cleanly (using the perl -c script.pl syntax). Continue iteratively to do so until you comment out or remove the offending code, leading to a clean compile. This is a somewhat painful process, but sometimes you just have to do that.
Je suis Charlie.
In Section
Seekers of Perl Wisdom
|
|