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

Re^2: On Commenting Out 'use strict;'

by Codon (Friar)
on Aug 12, 2005 at 23:06 UTC ( #483454=note: print w/replies, xml ) Need Help??

in reply to Re: On Commenting Out 'use strict;'
in thread On Commenting Out 'use strict;'

I have run into more than one situation in maintaining code (one other developer, specifically) that started throwing a lot of warnings when he turned on warnings where the warning was quite useful. This person found that the best way to get rid of these "useless" "unitialized" warnings was to pipe his error logs through grep -v uninitialized. (He was not at the company six months later.) When I went into the code, I found that he was testing against a typoed hash key. This was a subtle bug that was not discovered for *YEARS* until warnings were turned on.

Ivan Heffner
Sr. Software Engineer, DAS Lead, Inc.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2016-10-23 13:16 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.