On Monday 04 June 2018 10:39:28 Shlomi Fish wrote:
> is there anything in https://en.wikipedia.org/wiki/Environment_variable ?

I do have some interesting perl settings, although I have no idea where they 
have come from.  This is a brand new Centos 7 install, and prior to trying to 
install the three modules everything had been done by installing RPM's

This does seem to corroborate your theory below about it being local only to 
root, and wh 'perl -c' works.  However, shouldn't the perldoc also have 
worked in that instance?

[root@ollie2 ~]# set|grep -i perl
PATH=/root/perl5/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
PERL5LIB=/root/perl5/lib/perl5:
PERL_LOCAL_LIB_ROOT=:/root/perl5
PERL_MB_OPT='--install_base /root/perl5'
PERL_MM_OPT=INSTALL_BASE=/root/perl5
        if type perl &>/dev/null; then
            COMPREPLY=($( compgen -W '$( perl -e '"'"'while (($gid) = 
(getgrent)[2]) { print $gid . "\n" }'"'"' )' -- "$cur" ));
                        --perl-regexp
        if type perl &>/dev/null; then
            COMPREPLY=($( compgen -W '$( perl -e '"'"'while (($uid) = 
(getpwent)[2]) { print $uid . "\n" }'"'"' )' -- "$cur" ));
[root@ollie2 ~]#  

> Perhaps you have https://metacpan.org/pod/local::lib enabled or similar.

I have checked and I do indeed have local::lib installed.  It got installed as 
a depencancy of perl-CPAN.rpm.  When I tried to remove it, it wouldn't 
because of the dependancy.  When I removed both that and perl-CPAN that was 
okay, although it didn't remove the Env Vars.

However, when I re-installed the perl-CPAN RPM it pulled perl-local-lib in 
again too.

Looks like I need to move over to the Centos list as this appears to be a 
Centos problem now rather than a perl one.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to