On 30/03/2005, Ramprasad A Padmanabhan wrote:
>I am writing a perl application that connect to a database and then
> does a fork()
> The child completes the process and does a exit(), but the problem is
> it closes the database connection which the parent would like to use.
>
> Can I exit the
> I would strongly recommend you connect after the fork. Each process needs to
> have its own connection.
Thanks for the reply.
Even I had thought so, probably for efficiency I can use dbi
cached_connect
Ram
--
Netcore Solutions Pvt
Ramprasad A Padmanabhan wrote:
> Hi,
>I am writing a perl application that connect to a database and then
> does a fork()
> The child completes the process and does a exit(), but the problem is
> it closes the database connection which the parent would like to use.
>
> Can I exit the child pro