Skip Menu |

This queue is for tickets about the CPAN-Mini-Inject CPAN distribution.

Report information
The Basics
Id: 69353
Status: new
Priority: 0/
Queue: CPAN-Mini-Inject

Owner: Nobody in particular
Requestors: thaljef [...]

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

Subject: Permit add() method to accept multiple modules and versions
Download (untitled) / with headers
text/plain 774b
IMHO, the interface to the add() method is flawed. It only allows you to associate one module name and one version number with a given tar.gz file. But any non-trivial tar.gz will contain several modules, each with potentially different version numbers. mcpani[1] work around this limitation by calling add() several times for each module that it finds in the .tar.gz (either by --all-in-meta or by --discover-packages). But this needlessly copies the .tar.gz file into the same location for each and every module. And the interaction just looks wrong. I propose that the add() method should accept multiple modules and version numbers (perhaps as a {module => version} hashref). I suspect this could be wedged in without breaking the current interface. Wudyathink?

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to