The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

MooseX::Types::PerlVersion - Perl::Version type for Moose classes

VERSION

version 0.002

SYNOPSIS

use MooseX::Types::PerlVersion qw(PerlVersion);
has version => (
is => 'ro',
isa => PerlVersion,
coerce => 1,
);

DESCRIPTION

This package provides Moose types for Perl::Version. It also provides coercion from Str and Num Moose types.

EXPORT

None by default, you'll usually want to request PerlVersion explicitly.

SEE ALSO

Perl::Version
Moose::Util::TypeConstraints
Moose

AUTHOR

Roman F. <romanf@cpan.org>

COPYRIGHT AND LICENSE

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.