Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: The value of declarations

by ww (Archbishop)
on Apr 06, 2009 at 20:43 UTC ( [id://755846]=note: print w/replies, xml ) Need Help??


in reply to The value of declarations

We are all familiar with the standard advice. Use strict.pm. It catches typos.

But as you're well aware there's more to it than catching typos... at least for those whose Perl_fu is less than "expert."

And then there's the addendum, which you didn't quote, of which this is one variant:

"...unless you know what you're doing and why you're doing it."

Now, I see that you didn't ignore this, but given the high regard in which you're held, I fear some less-knowledgeable coders (especially those who merely scan the first few lines) might wind up telling themselves "but tilly said I shouldn't use strict. Of course, you did no such thing, which is what makes your meditation worth CAREFUL and thoughtful reading, even by those to whom I have imputed "lesser fu" or impatience (and, BTW, to /me).

++ !

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found