From: Paul Fenwick Date: Tue, 4 Dec 2012 04:05:57 +0000 (+1100) Subject: Documentation: Apostrophe police. X-Git-Tag: v0.36~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Types.git;a=commitdiff_plain;h=16b113991ae924b948d581e11b793fbb2b338093 Documentation: Apostrophe police. --- diff --git a/lib/MooseX/Types.pm b/lib/MooseX/Types.pm index ce34367..f066392 100644 --- a/lib/MooseX/Types.pm +++ b/lib/MooseX/Types.pm @@ -535,7 +535,7 @@ Due to this stringification, the following will NOT work as you might think: 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 +operator instead. The authors of this package realize that all the L documention and examples nearly uniformly use the '=>' version of the comma operator and this could be an issue if you are converting code.