[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making warnings trigger errors.


> Just change the signal handler.
> 
> $SIG{__WARN__} = $SIG{__DIE__};

Or to do it lexically:

   use warnings FATAL => 'all';




Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.