Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Unmatched right curly bracket

by davido (Cardinal)
on Feb 14, 2012 at 06:54 UTC ( [id://953636]=note: print w/replies, xml ) Need Help??


in reply to Unmatched right curly bracket

Is your tab key broken? In a pinch the space bar will work.

This is one good reason for composing well formatted code. It's a lesson that will keep repeating itself until you take notice. Tabs help you to see block depth, among other things. Visual distinction in block depth helps in chasing down or even avoid creating bracket matching issues. If your code had been well indented the missing bracket would have been much more obvious.

While you don't have to live with all the advice in this document, perlstyle can give you some idea of what constitutes a reasonable starting point in developing a style that works for you


Dave

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-23 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found