Quote:
Originally Posted by
Little
can i directly call the shell script from a html page when a submit button is called bypassing the perl script?
If you would like a precise response, ask a precise question. An html page in a web browser does not directly invoke a perl script. I assume that what you mean is that when you click the submit button in the browser it sends an HTTP request to the web server. The web server then invokes an executable. If that's not the case, then you need to elaborate.
Assuming CGI is used to invoke a perl script, it could just as easily have called a shell script. That said, when using the relevant modules, actually implementing a CGI script is undoubtedly simpler in Perl.
There are many alternative protocols governing communication between a web server and a request handler. CGI, FCGI, and SCGI are three common server-agnostic examples. There are also web server-specific methods, such as Apache's mod_perl, mod_python, etc. Beyond these, there are programming language ecosystem-specific implementations, such as Python's WSGI.
Regards,
Alister