X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FTypes%2FStructured.pm;h=6baf782b9b4afceee41d2302ad585cabfcaab78f;hb=68d0710ba681a67640606b965dc5756de252c8c1;hp=ae852b0c7c3a6b8b84a085a915b27f122a08ee30;hpb=7caf630f7ef99213514b626885371350dd3667a5;p=gitmo%2FMooseX-Types-Structured.git diff --git a/lib/MooseX/Types/Structured.pm b/lib/MooseX/Types/Structured.pm index ae852b0..6baf782 100644 --- a/lib/MooseX/Types/Structured.pm +++ b/lib/MooseX/Types/Structured.pm @@ -10,7 +10,7 @@ use Sub::Exporter -setup => { exports => [ qw(Dict Tuple Optional slurpy) ] }; use Devel::PartialDump; use Scalar::Util qw(blessed); -our $VERSION = '0.17'; +our $VERSION = '0.18'; our $AUTHORITY = 'cpan:JJNAPIORK'; =head1 NAME @@ -553,7 +553,7 @@ However what this will actually validate are structures like this: [10,"Hello", $obj, [11,12,13,...] ]; # Notice element 4 is an ArrayRef In order to allow structured validation of, "and then some", arguments, you can -use the method against a type constraint. For example: +use the L method against a type constraint. For example: use MooseX::Types::Structured qw(Tuple slurpy); @@ -577,7 +577,7 @@ another Tuple) and a Dict can allow a slurpy HashRef (or children/subtypes of HashRef, also including other Dict constraints). Please note the the technical way this works 'under the hood' is that the -slurpy keywork transforms the target type constraint into a coderef. Please do +slurpy keyword transforms the target type constraint into a coderef. Please do not try to create your own custom coderefs; always use the slurpy method. The underlying technology may change in the future but the slurpy keyword will be supported. @@ -858,15 +858,16 @@ Here's a list of stuff I would be happy to get volunteers helping with: =head1 AUTHOR -John Napiorkowski C<< >> +John Napiorkowski =head1 CONTRIBUTORS The following people have contributed to this module and agree with the listed Copyright & license information included below: - Florian Ragwitz, C<< >> - Yuval Kogman, C<< >> + Florian Ragwitz, + Yuval Kogman, + Tomas Doran, =head1 COPYRIGHT & LICENSE