Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> On sn, 2012-06-24 at 16:05 -0400, Robert Haas wrote:
>>> +local $SIG{__WARN__} = sub { die $_[0] };
>> This seems like a band-aid.
> I'd think of it as a safety net.
+1 for the concept of turning warnings into errors, but is that really
the cleanest, most idiomatic way to do so in Perl? Sheesh.
regards, tom lane