Dist::Zilla::Plugin::Inject - Inject into a CPAN::Mini mirror
version 0.001
# in your dist.ini [Inject] author_id = EXAMPLE # injection is triggered at the release stage dzil release
Dist::Zilla::Plugin::Inject is a release-stage plugin that will inject your distribution into a local or remote CPAN::Mini mirror.
Dist::Zilla::Plugin::Inject
The only mandatory setting that Dist::Zilla::Plugin::Inject requires is the author id that will be used when injecting the module (author_id).
author_id
Dist::Zilla::Plugin::Inject uses CPAN::Mini::Inject to inject your distribution into a local CPAN::Mini mirror. Thus, you need to have CPAN::Mini::Inject configured on your machine first. CPAN::Mini::Inject looks for its configuration file in a number of predefined locations (see its docs for details), or you can specify an explicit location via the config_file setting in your dist.ini, e.g.:
config_file
dist.ini
[Inject] author_id = EXAMPLE config_file = /home/example/.mcpani
If you supply a remote_server setting in your dist.ini, Dist::Zilla::Plugin::Inject will try to inject your distribution into a remote mirror via CPAN::Mini::Inject::Remote. A configured CPAN::Mini::Inject::Server must respond to the address specified in remote_server, e.g.:
remote_server
[Inject] author_id = EXAMPLE remote_server = http://mcpani.example.com/
Peter Shangov <pshangov@yahoo.com>
This software is copyright (c) 2010 by Peter Shangov.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::Inject, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Inject
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Inject
For more information on module installation, please visit the detailed CPAN module installation guide.