Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Scans Dist::Zilla's .pm files and tries to identify classes using Class::Discover
Perl

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/Dist/Zilla/Plugin/MetaProvides
maint
misc
t
.gitignore
.mailmap
.perltidyrc
.travis.yml
Changes
LICENSE
MANIFEST.SKIP
README.mkdn
dist.ini
dist.ini.meta
perlcritic.rc
weaver.ini

README.mkdn

NAME

Dist::Zilla::Plugin::MetaProvides::Class - Scans Dist::Zilla's .pm files and tries to identify classes using Class::Discover.

VERSION

version 2.001001

SYNOPSIS

[MetaProvides::Class]
meta_noindex    = 1  ; default > See :MetaProvider::Provider
inherit_version = 1  ; default > See :MetaProvider::Provider
inherit_missing = 1  ; default > See :MetaProvider::Provider

ROLES

::MetaProvider::Provider

→ Dist::Zilla::Role::MetaProvider::Provider

meta_noindex

Extended from MetaProvider::Provider

This is a utility for people who are also using MetaNoIndex, so that its settings can be used to eliminate items from the 'provides' list.

  • meta_noindex = 0

    By default, do nothing unusual.

  • DEFAULT: meta_noindex = 1

    When a module meets the criteria provided to MetaNoIndex, eliminate it from the metadata shipped to Dist::Zilla

ROLE SATISFYING METHODS

provides

A conformant function to the ::MetaProvider::Provider Role.

signature: $plugin->provides()

returns: Array of :MetaProvides::ProvideRecord

PRIVATE METHODS

_classes_for

signature: $plugin->_classes_for( $filename, $file_content )

returns: Array of :MetaProvides::ProvideRecord

SEE ALSO

AUTHOR

Kent Fredric kentnl@cpan.org

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Kent Fredric kentfredric@gmail.com.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Something went wrong with that request. Please try again.