in reply to Re: Issue with @INC
in thread Issue with @INC

That was indeed my first stop. However I'm not making the connection. I've got no PERL5LIB.

[SiDMBP2:~] urinine% echo $PERL5LIB PERL5LIB: Undefined variable.

I'm just not sure where the @INC gets set, and the examples on that site such as:

$ PERL5LIB=/tmp/foo perl -M-lib=/tmp/foo -le 'print for @INC'

will remove the offender temporarily, but 5 seconds later a print of @INC shows its back.

I appreciate your help. Thanks.

Replies are listed 'Best First'.
Re^3: Issue with @INC
by marto (Cardinal) on Oct 14, 2019 at 19:45 UTC

    I've not used MacOS since it was called OS X, this is perhaps out of date, my gut says it probably is. For your perl related problem I'd suggest leaving the system perl alone, install your own perl elsewhere on the system. perlbrew or just INSTALL giving it a prefix.