I run my scripts by typing 'perl script.pl' >From DOS: 'which perl' = C:\Perl\bin/perl.exe (why is the last slash a forward?) 'PATH' = PATH=C:\Perl\site\bin;C:\Perl\bin;C:\PROGRA~1\MKSTOO~1\mksnt;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\IBM\InformationServer\ASBNode\lib\cpp;C:\IBM\InformationServer\ASBNode\apps\proxy\cpp\vc60\MT_dll\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;X:\HCIApps\SYBASE\BIN;X:\HCIApps\SYBASE\DLL;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\SSH Communications Security\SSH Secure Shell
>From cygwin: 'which perl' = /cygdrive/c/Perl/bin/perl 'echo $PATH' = /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Perl/site/bin:/cygdrive/c/Perl/bin:/cygdrive/c/PROGRA~1/MKSTOO~1/mksnt:/cygdrive/c/PROGRA~1/MKSTOO~1/bin:/cygdrive/c/PROGRA~1/MKSTOO~1/bin/X11:/cygdrive/c/PROGRA~1/MKSTOO~1/mksnt:/cygdrive/c/IBM/InformationServer/ASBNode/lib/cpp:/cygdrive/c/IBM/InformationServer/ASBNode/apps/proxy/cpp/vc60/MT_dll/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Microsoft SQL Server/80/Tools/Binn/:/cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/binn/:/cygdrive/c/Program Files/Microsoft SQL Server/90/DTS/Binn/:/cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/Binn/VSShell/Common7/IDE/:/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies/:/cygdrive/x/HCIApps/SYBASE/BIN:/cygdrive/x/HCIApps/SYBASE/DLL:/cygdrive/c/Program Files/QuickTime/QTSystem/:/cygdrive/c/Program Files/SSH Communications Security/SSH Secure Shell --- Jan Dubois <[EMAIL PROTECTED]> wrote: > On Mon, 11 Jun 2007, Andy Hammer wrote: > > After checking I see that DOS is running MKS perl > and CYGWIN is > > running Active Perl. I don't understand how this > is happening. My > > System $PATH points to ActivePerl first. User > $PATH has no perl > > entries. I also have $PERL5LIB pointing to > ActivePerl. Still MKS perl > > is the choice of the DOS prompt! > > Please let us know which shell you are running, the > value of PATH > inside that shell, and how you are invoking Perl. > E.g. if you > are running the Perl script directly, then the Perl > interpreter > may be selected by the #! line, or by shell > associations in the > registry. If your shell has a 'which' command, > check the output > of `which perl`. > > Cheers, > -Jan > > ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC _______________________________________________ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs