Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: perl lost its modules!

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

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

Solve what exactly? Complain to whomever has root?

Replies are listed 'Best First'.
Re^4: perl lost its modules!
by Anonymous Monk on Jan 28, 2018 at 17:41 UTC
    I solved this problem of "Can't locate 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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2020-08-14 20:25 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (76 votes). Check out past polls.