Re: What am I doing wrong? A bad end-user experience
[email protected] (Martijn Lievaart via perl5-porters)
| Newsgroups | perl.perl5.porters |
|---|---|
| Message-ID | <[email protected]> |
Op 10-09-2026 om 23:41 schreef Dan: > 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. > Ah, yes. Gotcha. Admitedly an easier solution, but doesn't address the terrible user experience unfortunately. M4