From: Karen Etheridge Date: Tue, 26 Oct 2010 20:12:02 +0000 (-0700) Subject: pod typos X-Git-Tag: 0.25~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Types.git;a=commitdiff_plain;h=e2d7e14bfc22917ac67b47eb3592b5d0ceb6f8f9 pod typos --- diff --git a/lib/MooseX/Types.pm b/lib/MooseX/Types.pm index 634f669..f1a016d 100644 --- a/lib/MooseX/Types.pm +++ b/lib/MooseX/Types.pm @@ -152,7 +152,7 @@ return a false value if the type could not be coerced. B: This handler will only be exported for types that can do type coercion. This has the advantage that a coercion to a type that -cannot hasn't defined any coercions will lead to a compile-time error. +has not defined any coercions will lead to a compile-time error. =head1 LIBRARY DEFINITION @@ -527,7 +527,7 @@ Due to this stringification, the following will NOT work as you might think: subtype StrOrArrayRef => as Str|ArrayRef; -The 'StrOrArrayRef' will have it's stringification activated this causes the +The 'StrOrArrayRef' will have its stringification activated this causes the subtype to not be created. Since the bareword type constraints are not strings you really should not try to treat them that way. You will have to use the ',' operator instead. The author's of this package realize that all the L