should one not unlink() after the close?

> > When using Mail::Sender only the first email is sent on my mod_perl
> server.
> > When I investigated, I realised that the socket to the SMTP server was
> > staying open after the completion of that first email (presumably mod_perl
> > is responsible for this persistence).
> >
> > Is there any way to defeat the persistence on the socket while running my
> > script under mod_perl, or do such scripts always need to be mod_cgi?
> 
> You're probably storing it in a global so it never gets cleaned up.  Don't
> do that.
> - Perrin
> 


Reply via email to