Date: Thu, 6 Jul 2000 15:10:56 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Stromberg cc: djgpp-workers AT delorie DOT com Subject: Re: DJGPP problem executing a script In-Reply-To: <200007061036.MAA12463@lws256.lu.erisoft.se> 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, Martin Stromberg wrote: > > Yes, but how does Perl compute the value of @INC? I'm trying to > > understand where did those backslashes come from? > > 1. They are compiled in when building perl. > > 2. You can add more directories with the -I option to perl. These goes > in front of the compiled in ones. > > 3. You can change the variable in your perl program. None of these options seems to derive @INC from $DJDIR, unless each user has to configure her installation by putting the appropriate -I options on some config file. Is that true, or did I miss something? If I'm right, then I don't understand how does Perl work for people (me included) whose DJGPP tree is not rooted at c:/djgpp. ("/dev/env/DJDIR" trick might help, but I don't think that current Perl binaries were compiled with DJGPP v2.03.)