Sorry, I forgot to send it to the list as well. Stupid mailclient.

On Tue, 23 Dec 2003 13:35:48 -0800, david <[EMAIL PROTECTED]> wrote:

interesting. i will take a look at the source of Mail::Audit. what function
in Mail::Audit is causing the exit? do you know?
The function relevant to me, is accept(). I need the exitstatus of accept(), before I can send back something to the client.
Therefore, I redeclare exit() to die(), so I can see if accept() fails or succeeds.
I tried inserting this directly into Audit.pm, and it works perfectly:
use subs qw/exit/;
sub exit { die shift; }


david

Thanks for taking the time, 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>




Reply via email to