----- Original Message ---- > From: Hans Dieter Pearcey <hdp.perl.module-auth...@weftsoar.net> > > On Tue, Jun 16, 2009 at 02:39:21PM -0700, Bill Ward wrote: > > So, do I need to monkey with $SIG{__DIE__} or something? > > $SIG{__WARN__} = sub { die @_ }; > > Apply more advanced filtering to @_ as desired.
Just a quick ack through most of my CPAN modules shows that messing with __WARN__ is very hit-and-miss. ack __WARN__ /opt/local/lib/perl5/site_perl/5.8.8/ -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://use.perl.org/~Ovid/journal/ Twitter - http://twitter.com/OvidPerl Official Perl 6 Wiki - http://www.perlfoundation.org/perl6