While it was created for use with a minicpan mirror, similar functionality can be reused in other situations.

CPAN::Inject replicates the basics of this functionality.

Specifically, it takes an arbitrary tarball and adds it to the CPAN sources directory for a particular author, and then add the new file to the CHECKSUMS file.

It does not reimplement the logic to add files to the indexes.

The initial use this module was created for was to inject tarballs into the CPAN sources directory for the reserved LOCAL user, so that the can be installed via the CPAN shell, with automated recursion to CPAN dependencies.

But although the number of functions is limited (current only add exists, with the others to be added as needed) the implementation is very generic and sub-classable, so that it can be reused in other situations.

Write access to the repository is made available automatically to any published CPAN author, and to most other volunteers on request.

If you are able to submit your bug report in the form of new (failing) unit tests, or can apply your fix directly instead of submitting a patch, you are strongly encouraged to do so as the author currently maintains over 100 modules and it can take some time to deal with non-Critcal bug reports or patches.

This will guarentee that your issue will be addressed in the next release of the module.

If you cannot provide a direct test or fix, or don't have time to do so, then regular bug reports are still accepted and appreciated via the CPAN bug tracker.