From: Florian Ragwitz Date: Fri, 8 May 2009 19:08:22 +0000 (+0200) Subject: Pod formatting fixes. X-Git-Tag: 0.78~19 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fbe1e4a5ab9da3f3c17c1a408e37aa7068d0a662;p=gitmo%2FMoose.git Pod formatting fixes. --- diff --git a/lib/Moose/Util/TypeConstraints.pm b/lib/Moose/Util/TypeConstraints.pm index 4b731fc..cd51971 100644 --- a/lib/Moose/Util/TypeConstraints.pm +++ b/lib/Moose/Util/TypeConstraints.pm @@ -950,7 +950,7 @@ See the L for an example of how to use these. =over 4 -=item B as 'Parent' => where { } ...> +=item B<< subtype 'Name' => as 'Parent' => where { } ... >> This creates a named subtype. @@ -966,7 +966,7 @@ name and a hashref of parameters: The valid hashref keys are C (the parent), C, C, and C. -=item B where { } ...> +=item B<< subtype as 'Parent' => where { } ... >> This creates an unnamed subtype and will return the type constraint meta-object, which will be an instance of