How to embed javascript functionality into a Perl CGI script?

From: Vibhu (vbontala9_at_yahoo.com)
Date: 09/28/04


Date: 28 Sep 2004 13:59:19 -0700

I have this fundamental problem where I am trying to generate some
HTML content using Perl CGI script. Currently, my CGI script uses some
variables to calculate and value retrieval stuff and throws that onto
a HTML format. In addition to this, I want to add dynamic capability
to my CGI script.

For example, I generate a HTML web-page using Perl CGI code. In that
generated page, if I have some checkboxes/radio buttons/select windows
etc, I want to generate some dynamic content if I select one of those
elements. This means as soon as I select an item, one of the perl
functions should be invoked. Similarly, how could I do "onMouseOver",
"onClick" etc kind of stuff with Perl CGI scripts? Please help me.

Thanks
-Vibhu