Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: perl lost its modules!

by Anonymous Monk
on Oct 23, 2017 at 01:22 UTC ( #1201866=note: print w/replies, xml ) Need Help??


in reply to Re: perl lost its modules!
in thread perl lost its modules!

Hi, I'm having the same problem here, bud I don't understand how you solve it. I'm a non-root user, and have no authority to root.

Replies are listed 'Best First'.
Re^3: perl lost its modules!
by marto (Archbishop) on Oct 23, 2017 at 12:49 UTC
Re^3: perl lost its modules!
by Anonymous Monk on Oct 23, 2017 at 12:44 UTC
    Solve what exactly? Complain to whomever has root?
      I solved this problem of "Can't locate strict.pm: Permission denied"... today 2018-01-28. The reason was: because some directories have been created by the "cpan" command when I tried to use it under supervisor account root.

      So, remove theses directories (backup them before!):

      sudo rm -rf /usr/local/lib/perl

      sudo rm -rf /etc/perl/CPAN

      rm -rf /root/.cpan/

      That's all! and perl programs will run again without error.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1201866]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2019-10-16 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?