in reply to Difference Between use warnings and use warnings FATAL => 'all'
I've always thought of fatal warnings being akin to your car engine cutting out and the brakes being applied automatically when the fuel-low warning light comes on.
The warning light serves the purpose of giving you a chance to avoid getting stranded.
Making warnings fatal definitely strands you; and could be literally fatal if you are in the outside lane at speed when the fuel-low light comes on.
There is a difference between warnings and errors; and treating them both the same is like treating gangrene and a paper cut equally with amputation.
The former might lead to the latter eventually; but it is a rare occurrence. Another instance of dogma trumping logic.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Difference Between use warnings and use warnings FATAL => 'all'
by tobyink (Canon) on Dec 27, 2013 at 14:10 UTC | |
by BrowserUk (Patriarch) on Dec 28, 2013 at 01:10 UTC | |
by educated_foo (Vicar) on Dec 28, 2013 at 02:10 UTC | |
Re^2: Difference Between use warnings and use warnings FATAL => 'all'
by marinersk (Priest) on Dec 27, 2013 at 14:07 UTC | |
Re^2: Difference Between use warnings and use warnings FATAL => 'all'
by chromatic (Archbishop) on Dec 28, 2013 at 20:29 UTC | |
by BrowserUk (Patriarch) on Dec 28, 2013 at 22:30 UTC |