Mar 11, 2003 #1 VspecGTR3 Technical User Feb 3, 2003 62 US i know when you on a unix server u put #! path/to/perl on top of script but what is your serer is on windows how would u do that?
i know when you on a unix server u put #! path/to/perl on top of script but what is your serer is on windows how would u do that?
Mar 11, 2003 #2 PaulTEG Technical User Sep 26, 2002 4,469 IE AFAIK (and I stand to be corrected) on a windows box its down to the file associations. I'm testing perl scripts on WinXP, running Xitami WS, and I don't have a directory even remotely resembling usr/bin/perl, but it works Once Perl is correctly installed on Win(whatever) the file associations take over - IIS, now that could be a different matter HTH Upvote 0 Downvote
AFAIK (and I stand to be corrected) on a windows box its down to the file associations. I'm testing perl scripts on WinXP, running Xitami WS, and I don't have a directory even remotely resembling usr/bin/perl, but it works Once Perl is correctly installed on Win(whatever) the file associations take over - IIS, now that could be a different matter HTH
Mar 11, 2003 Thread starter #3 VspecGTR3 Technical User Feb 3, 2003 62 US so on your script u include it (usr/bin/perl) not by force of habbit? Upvote 0 Downvote
Mar 12, 2003 #4 Wullie Programmer Mar 17, 2001 3,674 GB Hi guys, If you are using Apache, it all depends on the following line: ScriptInterpreterSource registry If this line is commented, then you need to use the actual path that perl is installed to the same as you do on a *nix box. If that line is uncommented, then the registry handles the paths and you don't need the shebang line at all. Hope this helps Wullie http://www.freshlookdesign.co.ukhttp://www.freshlookdesign.comhttp://www.mailtosanta.co.uk The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell Upvote 0 Downvote
Hi guys, If you are using Apache, it all depends on the following line: ScriptInterpreterSource registry If this line is commented, then you need to use the actual path that perl is installed to the same as you do on a *nix box. If that line is uncommented, then the registry handles the paths and you don't need the shebang line at all. Hope this helps Wullie http://www.freshlookdesign.co.ukhttp://www.freshlookdesign.comhttp://www.mailtosanta.co.uk The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell