Special need is to have the script run under apache on both NT and linux. The suggestion of putting #!perl on NT for Apache seems to require perl to be in the path (though I haven't tested). Nor did I test setting mime or whatever in Apache to see if it would pick it up.
Again, default Apache (2.x at least) config on NT doesn't seem to run perl scripts that have the shebang wrong when perl is not in the path. At Tuesday, 29 January 2002, Stephan Tinnemeyer <[EMAIL PROTECTED]> wrote: >AFAIK, the shebang line is ignored on Windows and Macintosh systems, >maybe not on MacOS X systems. > >Security should not be obtained by hiding the location of perl.exe. This >is not the reason. There are some "standard" locations, i. e. some >locations are widely used. User friendly configured web servers have >links to perl.exe in some of these "standard" locations so that there is >a great chance that the script will work even if the shebang line is not >adapted. > >To get a script to work, however, one has at least to chmod the file on >*nix systems. Often additional changes have to be made. Therefore, I >consider it not too important to have a shebang line that has not to be >touched when the script is ported. > >Do you have a special need for a portable shebang line? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]