I've got Perl installed twice on my Windows 2000 computer... one is an 
installation of ActivePerl and the other is a regular installation of Perl 
that came with my Cygwin installation.

My computer is a dual-boot machine; in the first partition, of course, I 
have Win2K running; in the other, RH7.1.  My web files are located on a 
shared FAT32 partition which both OS's can access.

Here's the problem.  When I run Perl scripts under win2k, I have to include 
this as the first line of each CGI script:

         #! c:/perl/bin/Perl.exe

But when I run them under Linux, I have to include this:

         #!/usr/bin/perl

Is there any way that anyone knows of to map my Perl interpreter under 
Windows to the Cygwin installation, so that I don't have to change the 
first line of my Perl CGI scripts when I switch operating systems?  Is this 
something I can change under Apache (I'm running 1.3)?



Sliante,
Richard S. Crawford

http://www.mossroot.com
AIM: Buffalo2K   ICQ: 11646404  Y!: rscrawford
MSN: [EMAIL PROTECTED]

"It is only with the heart that we see rightly; what is essential is 
invisible to the eye."  --Antoine de Saint Exupéry

"Push the button, Max!"


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to