X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FTypes%2FMoose.pm;h=c090618426c1a29192263244f6025010e59487a1;hb=c4997e0caed2cedf77861469881bc029723f2c96;hp=50918c003339e7da581b719f449384bfe98d137c;hpb=3da38ef893627fa8efeecd85c69ffd1ff4ddb4e6;p=gitmo%2FMooseX-Types.git diff --git a/lib/MooseX/Types/Moose.pm b/lib/MooseX/Types/Moose.pm index 50918c0..c090618 100644 --- a/lib/MooseX/Types/Moose.pm +++ b/lib/MooseX/Types/Moose.pm @@ -1,11 +1,6 @@ package MooseX::Types::Moose; -our $VERSION = "0.24"; -=head1 NAME - -MooseX::Types::Moose - Types shipped with L - -=cut +# ABSTRACT: Type exports that match the types shipped with L use warnings; use strict; @@ -19,16 +14,16 @@ use namespace::clean -except => [qw( meta )]; 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) = @_; @@ -70,10 +65,6 @@ L, L, L -=head1 AUTHOR - -See L. - =head1 LICENSE This program is free software; you can redistribute it and/or modify