Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: How to fix Perl Installation after system upgrade

by monsignor (Acolyte)
on Nov 03, 2022 at 20:29 UTC ( [id://11147955]=note: print w/replies, xml ) Need Help??


in reply to Re: How to fix Perl Installation after system upgrade
in thread How to fix Perl Installation after system upgrade

@Corion Thanks very much for the reply.

Now what is the easiest way to fix this?

Can anyone see a problem with simply taking this list of all the installed perl modules and running apt reinstall list-of-modules

You mentioned "XS" -- does that have any connection to xs in the module names (in my list)? Would just reinstalling those fix the issue?

What about perlbrew? I have perlbrew installed.

Do perlbrew config files contain any important data that needs to be preserved? (Other than a list of installed modules?)

How can I compile a list of any modules that are installed in perlbrew?

It seems to me that this should be a mechanical process to recreate a fresh installation, or am I missing something?

Thanks again for the assist!

  • Comment on Re^2: How to fix Perl Installation after system upgrade

Replies are listed 'Best First'.
Re^3: How to fix Perl Installation after system upgrade
by Fletch (Bishop) on Nov 04, 2022 at 05:56 UTC

    The “autobundle” command for CPAN will help with what’s installed but if you installed with the package manager that’s probably as good a place to start; however it’s possible you’ve possibly gotten your Perl install into a state it (CPAN) may not run.

    This kind of wonkiness is why if you’re doing anything serious with perl it’s going to be much more controlled (by which I mean under your control) to make a separate install from the OS’ (using perlbrew or from source) and only install after-market modules into that copy (and/or a local::lib dir) using CPAN (or cpanp or cpanm) rather than being subject to the package manager’s whims.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-25 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found