Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Persist shell app

by bart (Canon)
on Apr 02, 2004 at 14:33 UTC ( [id://341986]=note: print w/replies, xml ) Need Help??


in reply to Persist shell app

Perhaps you could use something based on HTTP::Daemon. merlyn has a few excellent articles on his web site doing something similar using Chatbot::Eliza. Check out the articles with a title like "Doctor is IN", namely Column 23 and Column 24.

The idea is that you have one script that starts out as a CGI, which contains the actual state, and which launches its own small webserver — and keeps running in the background. That one takes over for this session, processing all following requests from the browser, and all in the context of the current application.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://341986]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-24 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found