Take a look at POE. It handles this out of the box. Ronan
On Wednesday 14 June 2006 13:52, G. Wade Johnson wrote: > On Wed, 14 Jun 2006 05:39:40 +0100 (BST) > > shiji varghese <[EMAIL PROTECTED]> wrote: > > I want to build a perl program which will run like a daemon , where in it > > will pull up an svg webpage and then watch for events triggered in the > > svg webpage. > > The perl program will should act like a back end server to the front end > > svg webpage on the same machine.The interaction between them should be > > similar to an interprocess communication. I know CGI is a concept very > > similar to what i want to do.Any ideas as to how my perl server daemon > > can receive function calls from the events recognised in the svg > > webpage.(For Eg. The svg webpage will have button , which when clicked > > should sent the signal to the backend perl daemon for it to process and > > sent a response back to the svg webpage ) > > > > Any ideas .. > > How about: > > * http://wiki.svg.org/XMLHttpRequest > * http://wiki.svg.org/GetURL > * http://wiki.svg.org/PostURL > > G. Wade > > > "G. Wade Johnson" <[EMAIL PROTECTED]> wrote: > > On Sat, 10 Jun 2006 11:27:27 -0000"varghen_shiji" > > > > <[EMAIL PROTECTED]> wrote: > > > Hi > > > I want to develop a Perl server program ,which will put up an svg > > > webpage, and keep running in the background.Each time an event is > > > recognised on the webpage , it should be handled by the Perl server > > > program. > > > The front end will be a svg webpage and the backend will be a perl > > > program (which will be running always watching for event handle calls > > > from the svg webpage) > > > How do i make the perl to run continuosly watching for calls to the > > > events recognised in the front end svg webpage. > > > > > > Hope you have understood my query.The perl will be a server and the > > > svg webpage my client. Please do guide me on this. > > > Shiji > > > > This is not an SVG question and you could get a more in-depth answer > > from a Perl mailing list. > > > > <off-topic> > > However, to get you started, there are several alternatives you could > > explore. The simplest would be the HTTP::Daemon module which sets up a > > very small webserver with only a small amount of code. If you are > > planning on having any real traffic at all (more than one user, etc.) you > > might consider using mod_perl or CGI scripts on top of Apache. > > > > You can get more information through The Perl Monastery at > > www.perlmonks.org. > > </off-topic> > > > > G. Wade > > -- > > To vacillate or not to vacillate, that is the question ... or is it? > > > > > > > > > > Send instant messages to your online friends > > http://in.messenger.yahoo.com > > > > Stay connected with your friends even when away from PC. Link: > > http://in.mobile.yahoo.com/new/messenger/ > > > > [Non-text portions of this message have been removed] -- Ronan Oger Director RO IT Systems GmbH ...Building Web2.0 with SVG since 2001 http://www.roitsystems.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

