i've had occasions where i used #!/perl/bin/perl and it worked fine. Perl was installed in c:\perl After a reinstall i noticed the shebang didn't matter any more, i probably did not install perl correctly greets, joris -----Original Message----- From: NeoX [mailto:[EMAIL PROTECTED]] Sent: zaterdag 31 maart 2001 8:28 To: [EMAIL PROTECTED] Subject: RE: How-to keep this independent from host [#!/usr/bin/perl] Dear Zenon There is no need to write of #!c:/perl/bin/perl.exe in the windows if you are using IIS webserver. The scripts will run fine even if u write #!/usr/bin/perl as first line of ur file in IIS, since you have already mapped the file extension in the IIS for the .cgi (or .pl) file to use perl.exe Thanks NeoX -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Zenon Chmielowski Sent: Saturday, March 31, 2001 6:29 AM To: [EMAIL PROTECTED] Subject: How-to keep this independent from host [#!/usr/bin/perl] Scripts in windows require the windows path to Perl (#!c:/PERL/BIN/perl.exe) My host in a Linux machine and wants: #!/usr/bin/perl How can I avoid editing scripts before posting to my Host? Is there an INCLUDE of some sort so that the first line can stay on a given server and thus make scripts more portable? Thanks Zenon _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activeperl _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activeperl
