Perinci::Sub::Dep::pm - Depend on a Perl module
This document describes version 0.30 of Perinci::Sub::Dep::pm (from Perl distribution Perinci-Sub-Dep-pm), released on 2015-09-03.
# 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'}, ], }
Please visit the project's homepage at https://metacpan.org/release/Perinci-Sub-Dep-pm.
Source repository is at https://github.com/perlancar/perl-Perinci-Sub-Dep-pm.
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.
perlancar <perlancar@cpan.org>
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.
To install Perinci::Sub::Dep::pm, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perinci::Sub::Dep::pm
CPAN shell
perl -MCPAN -e shell install Perinci::Sub::Dep::pm
For more information on module installation, please visit the detailed CPAN module installation guide.