Re: What am I doing wrong? A bad end-user experience
Lukas Mai <[email protected]>
| Newsgroups | gmane.comp.lang.perl.perl5.porters |
|---|---|
| Message-ID | <[email protected]> |
On 10.09.26 13:48, Paul "LeoNerd" Evans wrote: > This exact problem of "argh all my perl is broken" is going to happen > to anyone doing this kind of setup, whenever system perl gets updated. > > So someone, please tell me, what am I doing wrong here? I cannot > believe that this is the intended behaviour of the system we have. > > Alternatively, maybe this is as good as can currently be achieved. If > so then I really don't like it, and I think we could do a lot better. I believe all of these problems could be sidestepped by making sure all perls involved are configured with -Duseversionedarchname. See <https://perldoc.perl.org/perl5180delta#Configuration-and-Compilation>. Obviously that doesn't help with a distribution perl that wasn't compiled with this option (and I wasn't even aware this option existed before today). So I would propose two steps: 1. Document useversionedarchname. Probably in INSTALL. 2. Turn the option on by default. Hopefully that will increase the likelihood that any future perl you encounter will Just Work(tm).