Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: My habitual errors

by ambrus (Abbot)
on Apr 15, 2007 at 18:21 UTC ( [id://610216]=note: print w/replies, xml ) Need Help??


in reply to My habitual errors

An error I often make is forgetting semicolons. I do that most often after debugging print/printf/warn statements, or long statements, like ones that end with the closing brace of an anonymous sub. This, fortunately, causes a syntax error pointing to the right place in the majority of cases.

The other error I often do is failing to return the right value from a subroutine. The value is computed all right, only I forget to add the last statement that returns it after writing the body.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-28 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found