I have a ton of small Perl scripts that I run often. Many of them involve placing text in an input file, running the script, and getting some altered text from an output file. I would like to change to a HTML page to do all of this.
Essentially, I would have two text boxes on the page (one for input and one for output), and I would have a pull-down box with all my Perl scripts in them. Each time I want to run a script, I would simply select the script to run, enter the text in the input box, click a button, and the output text would appear in the output box.
What I want to know is, how can I redirect a perl script to the same form? In other words, I want the post action for my form to be a perl script, which returns some text to the same form. Does anyone know how I could achieve this? I'm afraid JavaScript just won't do for some of the stuff I'm doing...
Essentially, I would have two text boxes on the page (one for input and one for output), and I would have a pull-down box with all my Perl scripts in them. Each time I want to run a script, I would simply select the script to run, enter the text in the input box, click a button, and the output text would appear in the output box.
What I want to know is, how can I redirect a perl script to the same form? In other words, I want the post action for my form to be a perl script, which returns some text to the same form. Does anyone know how I could achieve this? I'm afraid JavaScript just won't do for some of the stuff I'm doing...