package MooseX::Types::Moose;
-our $VERSION = "0.25";
-=head1 NAME
-
-MooseX::Types::Moose - Types shipped with L<Moose>
-
-=cut
+# ABSTRACT: Type exports that match the types shipped with L<Moose>
use warnings;
use strict;
package Foo;
use Moose;
- use MooseX::Types::Moose qw( Int Str );
+ use MooseX::Types::Moose qw( ArrayRef Int Str );
use Carp qw( croak );
has 'name',
is => 'rw',
isa => Str;
- has 'id',
+ has 'ids',
is => 'rw',
- isa => Int;
+ isa => ArrayRef[Int];
sub add {
my ($self, $x, $y) = @_;
L<Moose>,
L<Moose::Util::TypeConstraints>
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
=head1 LICENSE
This program is free software; you can redistribute it and/or modify