http://qs321.pair.com?node_id=357888


in reply to Befuddled by The Llama

Now, I know that some folks out there aren't happy that I haven't yet learned the use of 'strict'. To whit I say "PATIENCE my brethren!"

I swear to you that I've been tinkering with this for HOURS!!!!

Honestly, if you learn my and use strict;, you would have fewer problems, learn to avoid bad habits and troubleshoot issues faster. Strict will tell you when and what is wrong and the only real prerequisite for it is understanding my. If you would spend ten minutes reading up on both of these in the PerlMonk's library, you'd save yourself those HOURS!!!! of tinkering.

Replies are listed 'Best First'.
Re: Re: Befuddled by The Llama
by mrpeabody (Friar) on Jun 01, 2004 at 01:51 UTC
    ++Seumas. use strict and use warnings aren't things you tack on after you know what you're doing. They're the first lines you write in every program you write, starting with Hello World.

    I don't understand why bluethundr would rather spend HOURS staring at non-working code and then post to Perlmonks and wait for a response, rather than simply avoiding problems by using what he knows is the correct style from the start. (This is the second node I've seen by him that fits this pattern; there may be others.)

    But I do know it's not worth my time to debug his code and offer my suggestions until he takes those steps for himself. For one thing, since he's ignoring the simple and commonsense advice he's being universally offered, I suspect he would ignore whatever I recommended as well.