Tyler Bird wrote: > Does anybody know if there is a module > > or some kind of directive in either perl or mod_perl > to make warnings produce the same affects as errors.
Just change the signal handler.
$SIG{__WARN__} = $SIG{__DIE__};
Not sure why you'd want that though. But sometimes I need some help in tracking
down warnings, so I do something like this:
use Carp;
$SIG{__WARN__} = \&Carp::cluck;
--
Michael Peters
Developer
Plus Three, LP
