NAME

Perinci::Sub::Dep::pm - Depend on a Perl module

VERSION

This document describes version 0.30 of Perinci::Sub::Dep::pm (from Perl distribution Perinci-Sub-Dep-pm), released on 2015-09-03.

SYNOPSIS

 # in function metadata
 deps => {
     ...
     pm => 'Foo::Bar',
 }

 # specify version requirement
 deps => {
     ...
     pm => 'Foo::Bar >= 0.123',
 }

 # specify multiple modules
 deps => {
     all => [
         {pm => 'Foo'},
         {pm => 'Bar >= 1.23'},
         {pm => 'Baz'},
     ],
 }

 # specify alternatives
 deps => {
     any => [
         {pm => 'Qux'},
         {pm => 'Quux'},
     ],
 }

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Perinci-Sub-Dep-pm.

SOURCE

Source repository is at https://github.com/perlancar/perl-Perinci-Sub-Dep-pm.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-Sub-Dep-pm

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.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 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.