Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Recovery of a "multi-perl" installation

by Anonymous Monk
on May 27, 2016 at 17:46 UTC ( [id://1164345]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Recovery of a "multi-perl" installation
in thread Recovery of a "multi-perl" installation

Your @INC looks a little unusual to me. Is this a custom built Perl or the system Perl? Are you setting PERL5LIB or similar?

Assuming this is the system Perl, my approach would be to pick apart which files in the @INC paths belong to packages managed by the system and delete the rest. "debsums" may be helpful here, along with forced reinstalls of the packages.

Then, once you've cleaned up the system Perl, only use the package manager to add or remove modules there. For custom built modules I would suggest building those in a local build of Perl (perlbrew), this eliminates the risk of messing up the system Perl.

  • Comment on Re^3: Recovery of a "multi-perl" installation

Replies are listed 'Best First'.
Re^4: Recovery of a "multi-perl" installation
by Anonymous Monk on May 27, 2016 at 21:14 UTC
    PERL5LIB and any PERL vars will show up in output of  perl -V so he doesn't have any those, for example
    ... %ENV: PERL_MB_OPT=" --config installhtmldir= --binhtml= " @INC: ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found