Re: What am I doing wrong? A bad end-user experience

Dan <[email protected]>
Newsgroups gmane.comp.lang.perl.perl5.porters
Message-ID <CABMkAVWVNtE9B-2CbcVwf8egM9ts9aom6yW+f90LgKRK0N6Szw@mail.gmail.com>
On Thu, Sep 10, 2026 at 4:16 PM Martijn Lievaart via perl5-porters <
[email protected]> wrote:

>
> Op 10-09-2026 om 18:37 schreef gregor herrmann:
> > On Thu, 10 Sep 2026 14:15:09 +0000, Jess Robinson wrote:
> >
> >> FWIW my current solution is: `mv ~/perl5 ~/perl5-5.40; cpanm
> >> --installdeps <whereever I needed deps for>` (repeat for every carton
> >> local/ as well)
> >
> > There's also App::MigrateModules on the CPAN which allows you to do
> > things like
> >
> > perl-migrate-modules --from ~/perl5-5.40/ $(which perl)
> >
>
> Wouldn't that fall prey to the same problem, so would you even be able
> to run that meaningfully before the upgrade, or at all after the upgrade?
>

You would need to ensure it does not try to load libraries from that
location, hence moving it out of place, but it does not need to load them
to determine what modules are present. Only the "destination perl" needs to
be able to install the modules.

-Dan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.