in reply to Re: perl CGI
in thread perl CGI
Unix/linux environment looks at the shebang line to determine which interpreter to look for. I am working on windows and in windows, file extension suggests what interpreter to use. How will .CGI extension invoke perl interpreter ? If different executable cgi files are created using different languages eg java, php and perl, and all files reside in the same directory. In case of java file, it can be recognized with .class extension and jre will be used when this java file is invoked. But in perl and php , if both files have .cgi extension, how does the server understand which interpreter to use if both files have .cgi extension ?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: perl CGI
by Marshall (Canon) on Mar 03, 2009 at 16:59 UTC |