in reply to Re^2: RFC: Changing Perl Config settings
in thread Changing Perl Config settings

@INC is where Perl looks for *.pm files.

$ENV{INCLUDE} is where the C compiler looks for *.h and *.c files.

The two bear little to no relation to each other.

Replies are listed 'Best First'.
Re^4: RFC: Changing Perl Config settings
by Bloodrage (Monk) on Feb 23, 2008 at 09:19 UTC

    Ya, thanks. I had figured|rememberd that eventually. I'm beginning to think my include library is incomplete (the module Glib-1.164p still won't compile), but my program does seem to help Perl and it's modules find things easier.

    The program's been updated and now uses $ENV{'INCLUDE'} as the source of include directories, so I only have to maintain the include paths list in one place.