Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Help! My variables are jumping off a cliff!

by tangent (Deacon)
on Feb 26, 2012 at 05:15 UTC ( #956187=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Help! My variables are jumping off a cliff!
in thread Help! My variables are jumping off a cliff!

I hear what you're saying oko1, but isn't use warnings a valid response? I mean, where would you draw the line with strict if you start looking at all the other problems you can run into?


Comment on Re^5: Help! My variables are jumping off a cliff!
Re^6: Help! My variables are jumping off a cliff!
by oko1 (Deacon) on Feb 26, 2012 at 05:31 UTC

    The field of problems that are a) always errors, b) detectable, and c) easily made unintentionally is not very large. Also, the docs for 'strict' specifically mention 'vars' as being intended to prevent variable suicide - which it fails to do in this case. Currently, the only thing that we've got is a mildly-phrased warning; in fact, it's classified as 'misc' in the warnings hierarchy.

    That just seems totally inappropriate to me - particularly when compared to the way this kind of error is treated in other languages.

    -- 
    I hate storms, but calms undermine my spirits.
     -- Bernard Moitessier, "The Long Way"

      That just seems totally inappropriate to me - particularly when compared to the way this kind of error is treated in other languages.

      Yeah, evolution is a messy, and things are what they are

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2014-10-20 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (75 votes), past polls