... and ___DIE__ need not be resignalled, it is propagated naturally. if ($daemonize) { # log warnings and uncaught errors $SIG{'__DIE__' } = sub { do_log(0,"_DIE: %s", $_[0]) if !$^S }; $SIG{'__WARN__'} = sub { do_log(2,"_WARN: %s",$_[0]) if !$^S }; }
Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/