Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Something interesting i found today

by boftx (Chaplain)
on Aug 24, 2013 at 07:05 UTC ( #1050778=note: print w/ replies, xml ) Need Help??


in reply to Re: Something interesting i found today
in thread Something interesting i found today

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?


Comment on Re^2: Something interesting i found today
Select or Download Code
Re^3: Something interesting i found today
by perlaintdead (Scribe) on Aug 24, 2013 at 07:33 UTC
    this was in my "test.pl" 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,

        Your analogy only makes sense if i was trying to incorporate this into a script. In this case i literally though "i wonder what happens when i try to subtract a number from a string" and i found out just fine without strict or warnings. I'm just saying it's not necessary ALL THE TIME.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2014-09-20 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (157 votes), past polls