delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/07/06/08:11:38

Date: Thu, 6 Jul 2000 15:10:56 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
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: <Pine.SUN.3.91.1000706150646.25107A-100000@is>
MIME-Version: 1.0
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

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.)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019