On Sat, May 7, 2011 at 10:18 AM, Tom Christiansen <tchr...@perl.com> wrote:
Leon Timmermans <faw...@gmail.com> wrote
on Sat, 07 May 2011 19:12:20 +0200:
Actually, I'd personally prefer the warnings to be promoted to
exceptions. Warnings are often far too easily missed. That said, some
warnings can be a bit confusing then set to fatal.
The problem with that is that compile-time warnings promoted into
exceptions don't work. They kill the compiler, which means you never
learn what the real problem was.
I find this interesting. I ran into a code base which had evolved
without strict.pm. To ever be able to sanely add strict.pm, it'd have
to be implementable as a warning. I've been of the opinion that
everything strict.pm does ought to be able to considered just warnings
that have been promoted to 'FATAL'.