in reply to CGI access to Perl Daemon

Nice replies.

I know I can connect via a CGI, my question is how to do:

If I have:
(daemon) < - > (socket) < - > (remote service)

What will I need to do then for:
(cgi) < - > (daemon)

Replies are listed 'Best First'.
Re: Re: CGI access to Perl Daemon
by FamousLongAgo (Friar) on Dec 17, 2002 at 22:55 UTC
    Consider using a web services protocol like XMLRPC::Lite - this makes it easy to pass Perl data structures ( at least the simpler ones ) from a CGI script to the daemon and back.

    The messages get passed as HTTP requests, and they are human readable, so debugging is made simpler.