i checked the source of Mail::Audit especially the accept function. there isYes, I am positive. As soon as I insert this into Audit.pm it works perfectly:
nothing i can see why my method won't work. the only time accept calls exit
directly is when a message has been sent but not when the noexit option is
set. there are, however, a bunch of die statments in the function. the die
function in Perl is not implmented with exit so how are you handling those
die functions? are can you be sure your program is not dieing because of the
die function? are you sure it's the exit function that cause the problem?
use subs qw/exit/;
sub exit { die shift; }
david
-- Jesper Nøhr - decius <[EMAIL PROTECTED]> Holstebro, Denmark -- http://printf.dk UNIX Administrator, Software Engineer, Geek.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>