Peter Gradwell writes:

> Hi ya,
> 
> If I have a perl script, in a .qmail- file, which connects to a mysql 
> database, has anyone considered how to make the mysql connection persistent.
> 
> Would it be at all possible to have persistence in the program run by a 
> .qmail file?
> 
> or am i totally mad?

Sure.  Anything is possible.  Run your Perl script permanently in the
background, and have a small Perl stub executed from .qmail that connects
to the background daemon via a socket or a pipe, and does what it has to
do.


-- 
Sam

Reply via email to