in reply to perl path: WinNT to Unix

For CGI, you can make a drive:\usr\bin\perl.exe copy on your development NT box. It only needs to contain the exe, as the dll's will be found in the proper place.

#! /usr/bin/perl -w use strict; print "Content-Type: text/plain\n\n"; printf("perl executable %s\n",$^X); printf("perl version %vd\n",$^V);
Apache returns:
perl executable I:\usr\bin\perl.exe
perl version 5.8.6

update: I forgot to 'use strict' ;)

Replies are listed 'Best First'.
Re^2: perl path: WinNT to Unix
by artist (Parson) on Jan 03, 2005 at 19:35 UTC
    This was the easiest solution that works without changing anything. I am running apache webserver on NT and "#!/usr/bin/perl" now works on NT after creating the path.