Fetching latest commit…
Cannot retrieve the latest commit at this time
|Failed to load latest commit information.|
NAME Dist::Zilla::Plugin::MetaProvides::Package - Extract namespaces/version from traditional packages for provides VERSION version 1.11034304 SYNOPSIS In your "dist.ini": [MetaProvides::Package] inherit_version = 0 ; optional inherit_missing = 0 ; optional ROLES Dist::Zilla::Role::MetaProvider::Provider OPTIONS INHERITED FROM Dist::Zilla::Role::MetaProvider::Provider "inherit_version" How do you want existing versions ( Versions hardcoded into files before running this plug-in )to be processed? * DEFAULT: inherit_version = 1 Ignore anything you find in a file, and just probe "DZIL->version()" for a value. This is a sane default and most will want this. * inherit_version = 0 Use this option if you actually want to use hard-coded values in your files and use the versions parsed out of them. "inherit_missing" In the event you are using the aforementioned ""inherit_version" = 0", this determines how to behave when encountering a module with no version defined. * DEFAULT: inherit_missing = 1 When a module has no version, probe "DZIL->version()" for an answer. This is what you want if you want to have some files with fixed versions, and others to just automatically be maintained by Dist::Zilla. * inherit_missing = 0 When a module has no version, emit a versionless record in the final metadata. ROLE SATISFYING METHODS provides A conformant function to the Dist::Zila::Role::MetaProvider::Provider Role. signature: $plugin->provides() returns: Array of Dist::Zilla::MetaProvides::ProvideRecord PRIVATE METHODS _packages_for signature: $plugin->_packages_for( $filename, $file_content ) returns: Array of Dist::Zilla::MetaProvides::ProvideRecord SEE ALSO * Dist::Zilla::Plugin::MetaProvides AUTHOR Kent Fredric <firstname.lastname@example.org> COPYRIGHT AND LICENSE This software is copyright (c) 2010 by Kent Fredric. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.