http://qs1969.pair.com?node_id=60233

Eureka_sg has asked for the wisdom of the Perl Monks concerning the following question:

Is it possible to use a single script to generate a page consisting of a form and a text field; submission of the form is processed by same script(which involve interaction with server) and then results is displayed on the text field on the same page dynamically? The results will accumulate on the same text box after each submission.

Normally this will be done using two scripts, one for the form and one to process the request and generate results.

Can anyone tell me if what I have in mind is possible and how? Thanks!