Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: perl lost its modules!

by roboticus (Chancellor)
on Apr 01, 2014 at 23:25 UTC ( #1080654=note: print w/replies, xml ) Need Help??


in reply to perl lost its modules!

seandarcy:

Is it possibly finding them in a previous directory (e.g., /root/perl5/lib/perl5) where they exist but you *don't* have permission to read/execute them?

...roboticus

When your only tool is a hammer, all problems look like your thumb.

Replies are listed 'Best First'.
Re^2: perl lost its modules!
by seandarcy (Initiate) on Apr 01, 2014 at 23:44 UTC

    AFAICT there's only one strict.pm on the box:

    # locate strict.pm /usr/share/perl5/strict.pm

    And there's only one lib.pm in the @INC hierarchy:

    # locate /lib.pm /root/.cpan/build/local-lib-1.008004-GOPHT9/blib/lib/local/lib.pm /root/.cpan/build/local-lib-1.008004-GOPHT9/lib/local/lib.pm /usr/lib64/perl5/lib.pm

    The Fedora installation does set PERL5LIB to /root/perl5, but that folder does not exist,

    $ echo $PERL5LIB /root/perl5/lib/perl5/x86_64-linux-thread-multi:/root/perl5/lib/perl5 # ls -l /root/perl5 ls: cannot access /root/perl5: No such file or directory
    I'm really stumped.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2019-10-20 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?