MooseX::Types::PerlVersion - Perl::Version type for Moose classes
version 0.002
use MooseX::Types::PerlVersion qw(PerlVersion); has version => ( is => 'ro', isa => PerlVersion, coerce => 1, );
This package provides Moose types for Perl::Version. It also provides coercion from Str and Num Moose types.
Str
Num
None by default, you'll usually want to request PerlVersion explicitly.
PerlVersion
Roman F. <romanf@cpan.org>
This software is copyright (c) 2012 by Roman F..
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 MooseX::Types::PerlVersion, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Types::PerlVersion
CPAN shell
perl -MCPAN -e shell install MooseX::Types::PerlVersion
For more information on module installation, please visit the detailed CPAN module installation guide.