Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Something interesting i found today

by moritz (Cardinal)
on Aug 24, 2013 at 07:00 UTC ( #1050777=note: print w/replies, xml ) Need Help??

in reply to Something interesting i found today

If you use warnings;, you are warned that "test" isn't numeric, which makes it more obvious what's going on.

Replies are listed 'Best First'.
Re^2: Something interesting i found today
by boftx (Deacon) on Aug 24, 2013 at 07:05 UTC

    The implication that use warnings; was not present to start with is somewhat disturbing. Can one infer that use strict; is also not a habit?

      this was in my "" when ever i need to test a theory or to just see what happens (the latter in this case) i use this and i don't need to use strict and warnings to test theorys

        Analogy: “I wear a lifejacket when I fish professionally. But I was only fishing recreationally, so I didn’t need one.” (Because it doesn’t matter if I drown when I’m only having fun?)

        strict and warnings are not there to cramp your style; they’re there to help you and save you time by alerting you to common mistakes you might otherwise overlook.

        Required reading: The strictures, according to Seuss.

        Hope that helps,

        Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050777]
[choroba]: but I'm not sure it's worth my time...
NodeReaper shudders
[Corion]: choroba: That chart is frustrating as it pits cold hard numbers against puttering around with an annoying problem :)
[choroba]: I only use it when I want to avoid a task...
[Corion]: choroboa: A good choice! ;)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-07-27 09:20 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (407 votes). Check out past polls.