Posted by carlg on 09/15/06 14:09
Sorry if this is the wrong place for this question, but the Perl people
tell me it's a cgi programming question. I looked for a cgi
programming group but couldn't find one, so I hope this is a good place
to ask the question. ;-)
How would I write a simple web app in Perl+cgi that has state? Let's
say I just want to have a web page that has an input field, an Accept
button and a Clear button. Whenever I type some text into the field
and click on Accept it concatenates the text in the field with an
existing string and displays it on the web page. So I can submit a few
words one at a time and make a sentence. Clicking the Clear button
lets me start over.
-Carl Gundel, author of Liberty BASIC
http://www.libertybasic.com
[Back to original message]
|