[Israel.pm] Demonizing a commanline utility
felix.liberman at gmail.com
Wed Mar 2 03:43:08 PST 2005
IMHO the next step is natural - since you already have interface to
binary utility from Perl, why not to run this script as server and
allow different clients to send requests? You should also write
respective client script that will serve as "stdin/stdout" interface
for user data. Note that in certain cases your server script should be
secure enough to protect data from unauthorized access.
> Message: 3
> Date: Tue, 1 Mar 2005 17:10:24 +0200 (IST)
> From: Shlomo Yona <shlomo at cs.haifa.ac.il>
> Subject: RE: [Israel.pm] Demonizing a commanline utility
> To: Itzik Lerner - Orpak <itzik at orpak.co.il>
> Cc: perl at perl.org.il
> Message-ID: <Pine.LNX.4.62.0503011710120.15324 at cslx.cs.haifa.ac.il>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
> 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
More information about the Perl