Subject: | [PATCH] correct two spelling errors in documentation |
Date: | Thu, 04 Feb 2010 21:53:50 +0900 |
To: | bug-MooseX-Types-Structured [...] rt.cpan.org |
From: | Ansgar Burchardt <ansgar [...] 43-1.org> |
Hi,
while updating the Debian package for MooseX-Types-Structured, lintian
(one of Debian's QA tools) found two spelling errors in the
documentation. Please consider applying the attached patch to correct
them.
Regards,
Ansgar
From: Ansgar Burchardt <ansgar@43-1.org>
Subject: Correct spelling error
--- libmoosex-types-structured-perl.orig/lib/MooseX/Meta/TypeConstraint/Structured.pm
+++ libmoosex-types-structured-perl/lib/MooseX/Meta/TypeConstraint/Structured.pm
@@ -267,7 +267,7 @@
=head2 type_constraints_equals
-Checks to see if the internal type contraints are equal.
+Checks to see if the internal type constraints are equal.
=cut
--- libmoosex-types-structured-perl.orig/lib/MooseX/Types/Structured.pm
+++ libmoosex-types-structured-perl/lib/MooseX/Types/Structured.pm
@@ -128,7 +128,7 @@
=head2 Comparing Parameterized types to Structured types
Parameterized constraints are built into core Moose and you are probably already
-familar with the type constraints 'HashRef' and 'ArrayRef'. Structured types
+familiar with the type constraints 'HashRef' and 'ArrayRef'. Structured types
have similar functionality, so their syntax is likewise similar. For example,
you could define a parameterized constraint like: