Date: Thu, 6 Jul 2000 19:15:03 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Teun Burgers cc: djgpp-workers AT delorie DOT com Subject: Re: DJGPP problem executing a script In-Reply-To: <39647DF2.821626A@ecn.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 6 Jul 2000, Teun Burgers wrote: > It takes argv[0], looks for the last / and strips of the string > "/bin" before that. This last step fails when there is "\bin" > in the prefix which is why we get in @INC something > like c:\djgpp\bin/lib/perl5 instead of c:/djgpp/lib/perl5 as intended As I said before, argv[0] should not have backslashes, the startup code converts them all to forward slashes. So it is still a mystery to me how do the backslashes get into this.