Mail Archives: djgpp-workers/2000/07/06/08:11:38
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 -