X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Types-Structured.git;a=blobdiff_plain;f=lib%2FMooseX%2FTypes%2FStructured.pm;h=ca9f0ff9559e829a23c2a5f623bbd80726f3a15d;hp=6c007f728aae9f8bf2d408ca88c5d5ebf06b8cd4;hb=a59fe2a6395e614a5816c5f28a75e6f6fad25460;hpb=d7168e242c415c178eff87a8aca4aca275034f24 diff --git a/lib/MooseX/Types/Structured.pm b/lib/MooseX/Types/Structured.pm index 6c007f7..ca9f0ff 100644 --- a/lib/MooseX/Types/Structured.pm +++ b/lib/MooseX/Types/Structured.pm @@ -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,15 @@ 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, =head1 COPYRIGHT & LICENSE