Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: perl lost its modules!

by roboticus (Chancellor)
on Apr 01, 2014 at 23:25 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1080654]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-29 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found