- COPYRIGHT AND LICENSE
CPAN::Local - Hack custom CPAN repos
CPAN::Local is a framework for creating custom CPAN implementations. It is to your private repositories as Dist::Zilla is to your distributions. The individual tasks related to mirror management are handled by separate plugins, and those plugins can be combined to achieve the desired behavior, or new ones can be written where further customizations is needed.
There are other libraries for managing a local CPAN mirror, but while all of them focus on functionality, CPAN::Local focuses entirely on extensibility. It is insipered by Dist::Zilla and attempts to provide sufficient flexibility to acommodate the strangest of needs.
This document describes the
CPAN::Local class, which represents a local repository with plugins configured to perform actions on it. For more documentation on how to use this library see CPAN::Local::Manual.
Base name of the configuration file. Default is
The root namespaces for plugins and roles that will be loaded. Default is
The base class for distribution objects. Default is
The root directory of the repository. Assumes the current working directory by default.
Logging facility. An instance of Log::Dispatchouli by default.
All plugins requested by the "config", required and instantiated.
Returns all plugins that implement a given role. Only the last portion of the role name should be passed as an argument - i.e. if
Index, then all plugins implementing
CPAN::Local::Role::Index will be returned.
Peter Shangov <email@example.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Venda, Inc..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.