Start look from here : http://search-dev.cpan.org/src/TIMB/DBI_Talk5_2001/sld024.htm

Index: http://search-dev.cpan.org/src/TIMB/DBI_Talk5_2001/index.htm

José.


-----Original Message-----
From: Ildar Gabdulline [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, September 01, 2002 6:40 PM
To: Matthew O. Persico
Cc: [EMAIL PROTECTED]
Subject: Re: Passing DBI connection between processes


Hi Matthew,

The question is connected with the task to create so named Connection Pool Server (see 
the letter attached), so I _need_ to create connection handle in one process and pass 
it to another and vice versa. For the moment I do not see any other way to resolve the 
task described in the letter. Probably you can advice me how can I solve this ?.

Ildar.

----- Original Message -----
From: "Matthew O. Persico" <[EMAIL PROTECTED]>
To: "Ildar Gabdulline" <[EMAIL PROTECTED]>
Sent: Sunday, September 01, 2002 8:22 PM
Subject: Re: Passing DBI connection between processes


On Sun, 1 Sep 2002 19:24:05 +0400, Ildar Gabdulline spaketh:
>Hi,
>
>Is it possible to create DBI handle it one perl process, pass it to the
>second perl process, use it and return to the first ?
>If it is then how can it be accomplished ?
>
>Ildar.
>

Is it possible? Yes. Should you do it? Absolutely not.

The only way I know of to pass anything off to a second process is create you "thing" 
in the first process, then fork off a child process, which is the second process.

However, there are all sorts of complications in doing this. Search the archives for 
details. You best bet is to pass the login info to the second process and open the 
handle there.

--
Matthew O. Persico








**** DISCLAIMER ****

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.

Reply via email to