The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dist::Zilla::Role::CheckPackageDeclared - Role to check if a package is provided by your distribution

VERSION

This document describes version 0.001 of Dist::Zilla::Role::CheckPackageDeclared (from Perl distribution Dist-Zilla-Role-CheckPackageDeclared), released on 2018-06-26.

METHODS

is_package_declared

Usage: my $declared = $obj->is_package_declared($package) => bool

Return true when $package is declared by one of the modules in the distribution. Module::Metadata is used to extract declared packages in a file.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Dist-Zilla-Role-CheckPackageDeclared.

SOURCE

Source repository is at https://github.com/perlancar/perl-Dist-Zilla-Role-CheckPackageDeclared.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Role-CheckPackageDeclared

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

Module::Metadata

Dist::Zilla::Plugin::CheckSelfDependency

Dist::Zilla::Plugin::RemoveSelfDependency

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by perlancar@cpan.org.

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