Perinci::Sub::Dep::pm - Depend on a Perl module
version 0.26
# 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'}, ], }
This module has Rinci metadata.
None are exported by default, but they are exportable.
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2012 by Steven Haryanto.
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, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perinci
CPAN shell
perl -MCPAN -e shell install Perinci
For more information on module installation, please visit the detailed CPAN module installation guide.