shabbu has asked for the wisdom of the Perl Monks concerning the following question:
I have a Perl CGI server, which forks itself and connects to external systems using CPAN modules. I would like to enahnce the CGI server by maintaing a list of already connected systems and resue the connections. As of now since connection happens in the fork, all of that information is lost after child finishes. I downloaded and compiled latest Perl to seed if I can use threads to do the job, but sharing connection objects( I have not succeeded) seems very complicated. CPAN modules that I am using are Net:Telnet. Any suggestions or rough ideas is greatly appreciated.
ThanksAshok
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to approach this i by Perl?
by suaveant (Parson) on Jan 04, 2010 at 20:59 UTC | |
by shabbu (Initiate) on Jan 05, 2010 at 11:39 UTC | |
by suaveant (Parson) on Jan 05, 2010 at 21:18 UTC |