Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Missing right curly or square bracket

by Laurent_R (Canon)
on Mar 11, 2015 at 18:57 UTC ( [id://1119685]=note: print w/replies, xml ) Need Help??


in reply to Missing right curly or square bracket

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1119685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-19 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found