[Israel.pm] Demonizing a commanline utility

Semuel Fomberg semuel at semuel.co.il
Wed Mar 2 11:09:50 PST 2005

Hello There.

Maybe I can help. What you need is the ability to watch multiply sockets
and file handlers asynchronically. Well, the select command can do it.
And let me fish inside my toy-projects-bag... how about the
After some modifications, it can watch the sockets for you, and tell you
which socket is ready for reading/writing.


-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On
Behalf Of Shlomo Yona
Sent: Tuesday, March 01, 2005 5:10 PM
To: Itzik Lerner - Orpak
Cc: perl at perl.org.il
Subject: RE: [Israel.pm] Demonizing a commanline utility

On Tue, 1 Mar 2005, Itzik Lerner - Orpak wrote:

> I think you can do it with IPC::Open3

What about the deamonizing... I mean... IPC::Open3 allows me
to have a perl script launch the utility once and access it
many times, but I still need to be able to allow "many"
(i.e. more than that one script) processes access that
utility (preferably, via a deamon, in order to save the
loading time penalty).

Any suggestions?

Shlomo Yona
shlomo at cs.haifa.ac.il
Perl mailing list
Perl at perl.org.il

More information about the Perl mailing list