Skip Menu |

This queue is for tickets about the Module-Pluggable CPAN distribution.

Report information
The Basics
Id: 86250
Status: new
Priority: 0/
Queue: Module-Pluggable

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
haarg [...] haarg.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Unable to upgrade from older versions
Older versions of Module::Pluggable install into archlib instead of lib, which takes priority. This means that upgraded versions are ignored after being installed. The only reasonable solution I know of for this is to delete the older files when installing. That is the solution I used for Devel::GlobalDestruction when moving it from archlib to lib. This is related to RT#48951 and RT#54454.
I've seen two people complaining about this recently in IRC. I had to deal with a similar situation in Devel::GlobalDestruction. I fixed it by deleting the offending older module on install. https://metacpan.org/source/HAARG/Devel-GlobalDestruction-0.12/Makefile.PL#L80 I haven't looked at how this would need to be done using Module::Build.