Hello,
I need to web enable some unix scripts so our users can run them via a web page.
All the scripts are written in ksh or sh and may invoke other unix scripts. (I do not want to rewrite all these scripts). What I am thinking of doing is writing a perl script (using CGI.pm) which will act as the middle man between the web and the unix scripts and allows me to display the prompts of the unix script through a web-browser..and providing a little text box for the user to enter commands.
Whats the most efficient way of calling unix script from within a perl program? Anybody know of any perl modules that might be helpful besides CGI.pm?
Thanks.
I need to web enable some unix scripts so our users can run them via a web page.
All the scripts are written in ksh or sh and may invoke other unix scripts. (I do not want to rewrite all these scripts). What I am thinking of doing is writing a perl script (using CGI.pm) which will act as the middle man between the web and the unix scripts and allows me to display the prompts of the unix script through a web-browser..and providing a little text box for the user to enter commands.
Whats the most efficient way of calling unix script from within a perl program? Anybody know of any perl modules that might be helpful besides CGI.pm?
Thanks.