in reply to Re^3: PERL5LIB different than 'use lib'
in thread PERL5LIB different than 'use lib'

This seems to be some (compile-time) configuration option, as none of my perls exhibit that behavior. I've tried with various versions from 5.8.4 to 5.10.0, self-built and/or those that ship with Debian and SUSE Linux. All do produce identical results for PERL5LIB and use lib (both existing and non-existing dirs).

As you're getting directories for all kinds of versions, I guess it's the configure option that's scanning for other installations of Perl... (which I never use, as I explicitly do want to keep my versions separate).

Replies are listed 'Best First'.
Re^5: PERL5LIB different than 'use lib'
by tilly (Archbishop) on May 08, 2009 at 13:58 UTC
    That seems likely. I produced those results on a Red Hat box that someone else administers, so I have no idea how that Perl was built. Still if it happened on that machine, it could easily happen for someone else.
      ...it could easily happen for someone else.

      I never doubted that (nor that saintmike might not be telling the truth) — which is why I would've been interested in seeing his strace output... (as I initially suggested).