X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FTypes%2FStructured.pm;h=735bbce31b513535a4f409d3d6646e66ae20ddd2;hb=98336987b7ba1ae2144232fae6e48bc68b054a53;hp=8eec826aca97731249ff706fb676414443138f94;hpb=59deb8586dff2cca93f750ff381ae190e628193d;p=gitmo%2FMooseX-Types-Structured.git diff --git a/lib/MooseX/Types/Structured.pm b/lib/MooseX/Types/Structured.pm index 8eec826..735bbce 100644 --- a/lib/MooseX/Types/Structured.pm +++ b/lib/MooseX/Types/Structured.pm @@ -1,11 +1,12 @@ package MooseX::Types::Structured; +use 5.008; use Moose; use Moose::Util::TypeConstraints; use MooseX::Meta::TypeConstraint::Structured; use MooseX::Types -declare => [qw(Dict Tuple)]; -our $VERSION = '0.03'; +our $VERSION = '0.04'; our $AUTHORITY = 'cpan:JJNAPIORK'; =head1 NAME @@ -53,7 +54,7 @@ This type library enables structured type constraints. It is build on top of the L library system, so you should review the documentation for that if you are not familiar with it. -=head Comparing Parameterized types to Structured types +=head2 Comparing Parameterized types to Structured types Parameterized constraints are built into the core Moose types 'HashRef' and 'ArrayRef'. Structured types have similar functionality, so their syntax is