From: Jesse Luehrs Date: Sun, 11 Oct 2009 20:50:30 +0000 (-0500) Subject: Num is a subtype of Str X-Git-Tag: 0.93~28 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f1bbe1e18e10e986f63aafe01535d45a324f5230;p=gitmo%2FMoose.git Num is a subtype of Str --- diff --git a/lib/Moose/Manual/Types.pod b/lib/Moose/Manual/Types.pod index e8313c3..16202d0 100644 --- a/lib/Moose/Manual/Types.pod +++ b/lib/Moose/Manual/Types.pod @@ -39,9 +39,9 @@ The basic Moose type hierarchy looks like this Undef Defined Value - Num - Int Str + Num + Int ClassName RoleName Ref diff --git a/lib/Moose/Util/TypeConstraints.pm b/lib/Moose/Util/TypeConstraints.pm index d073ff7..cab95a5 100644 --- a/lib/Moose/Util/TypeConstraints.pm +++ b/lib/Moose/Util/TypeConstraints.pm @@ -882,9 +882,9 @@ that hierarchy represented visually. Undef Defined Value - Num - Int Str + Num + Int ClassName RoleName Ref