in reply to perl CGI
When the server executes a CGI program, it basically1 just does the same thing as if you had typed filename.cgi on the command line. In the case of Perl programs on unix-like environments, the first line of the file will be something like #!/usr/bin/perl which tells the operating system to run the code through the Perl interpreter without the caller (i.e., the web server) needing to know that it's dealing with a Perl program.
1 The web server also sets up various things in the environment, so that the CGI program is able to get information about the HTTP request that invoked it, but that's beside the point.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl CGI
by Marshall (Canon) on Mar 01, 2009 at 17:45 UTC | |
|
Re^2: perl CGI
by manish.rathi (Acolyte) on Mar 03, 2009 at 00:16 UTC | |
by Marshall (Canon) on Mar 03, 2009 at 16:59 UTC |