Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: sometimes use strict isn't enough

by dragonchild (Archbishop)
on Oct 24, 2001 at 16:58 UTC ( [id://121092]=note: print w/replies, xml ) Need Help??


in reply to sometimes use strict isn't enough

What this says is that strict is good ... good programming techniques are better.
  1. Use meaningful (read: unmistakeable) variable names
  2. Declare things in the smallest scope they can be used in.
I suspect that had you used #2, strict might've caught it for you.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-25 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found