5 use MooseX::Types::Moose qw( Str ArrayRef Int );
7 -declare => [qw( NonEmptyStr IntArrayRef TwentyThree Foo2Alias )];
12 message { 'Str must not be empty' };
20 where { not grep { $_ !~ /^\d+$/ } @$_ },
21 message { 'ArrayRef contains non-Int value' };
30 message { 'Int is not 23' };