Module::Install::Any::Moose - Any::Moose Support For Module::Install
use inc::Module::Install; # your usual stuff... # This will ask the user if MouseX::AttributeHelpers should be installed requires_any_moose 'X::AttributeHelpers'; WriteAll;
Speicifies Mouse/Moose as requirements. See the next entry for details on %opts
Specifies Mouse/Moose extensions as requirements.
$module should be a module name fragment, like '::Util::TypeConstraints' or 'X::AttributeHelpers'.
%opts may contain the following values:
Specify 'Moose' or 'Mouse'. This will tell Module::Install::Any::Moose to check for $prefix's version as the requirement. The other one would be an optional module.
The default is Mouse.
Specify the Moose alternative's minimum version.
Specify the Mouse alternative's minimum version.
As an example, the following would require MooseX::AttributeHelpers 0.13, and MouseX::AttributeHelpers as an optional dependency:
requires_any_moose 'X::AttributeHelpers' => ( prefer => 'Moose', moose => '0.13', mouse => '0.01' );
Daisuke Maki daisuke@endeworks.jp
daisuke@endeworks.jp
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Module::Install::Any::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Install::Any::Moose
CPAN shell
perl -MCPAN -e shell install Module::Install::Any::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.