From: Martin Stromberg Message-Id: <200007061239.OAA12513@lws256.lu.erisoft.se> Subject: Re: DJGPP problem executing a script To: djgpp-workers AT delorie DOT com Date: Thu, 6 Jul 2000 14:39:12 +0200 (MET DST) In-Reply-To: from "Eli Zaretskii" at Jul 06, 2000 03:10:56 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.) I was talking about perl on UNIX. Presumably, the DJGPP magic is done in step 1 in DJGPP? Right, MartinS