From: Shlomi Fish Date: Wed, 18 Jul 2007 16:09:28 +0000 (+0000) Subject: lib/Moose.pm: X-Git-Tag: 0_25~25 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9cca2e9e9a16785631da7093ff8b6c2154fdc2d2;p=gitmo%2FMoose.git lib/Moose.pm: - (Docs) referenced Moose::Util::TypeConstraints under 'isa' in 'has' for how to define a new type. --- diff --git a/Changes b/Changes index 1af6957..4ee00f0 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Perl extension Moose + * Moose + - (Docs) referenced Moose::Util::TypeConstraints under 'isa' in 'has' + for how to define a new type. + 0.24 Tues. July 3, 2007 ~ Some doc updates/cleanup ~ diff --git a/lib/Moose.pm b/lib/Moose.pm index bc62262..f312dbc 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -394,7 +394,8 @@ The I option uses Moose's type constraint facilities to set up runtime type checking for this attribute. Moose will perform the checks during class construction, and within any accessors. The C<$type_name> argument must be a string. The string may be either a class name or a type defined using -Moose's type definition features. +Moose's type definition features. (Refer to L +for information on how to define a new type). =item I (1|0)>