|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Calling a perl script and passing parameters from htmlby Jenda (Monsignor) |
| on Nov 17, 2012 at 17:26 UTC ( #1004326=note: print w/ replies, xml ) | Need Help?? |
|
If the script doesn't take too long to execute and you do not need to process it's results then a wrapper script like this should be enough to get you up and running:
All it does is it moves the parameters from the querystring or post into the @ARGV array (array of script parameters) in the format required by the script and then executes the script without starting a new process. As long as the script prints its results to STDOUT they should be sent to the client browser. Jenda
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||