Num is a subtype of Str
Jesse Luehrs [Sun, 11 Oct 2009 20:50:30 +0000 (15:50 -0500)]
lib/Moose/Manual/Types.pod
lib/Moose/Util/TypeConstraints.pm

index e8313c3..16202d0 100644 (file)
@@ -39,9 +39,9 @@ The basic Moose type hierarchy looks like this
       Undef
       Defined
           Value
-              Num
-                Int
               Str
+                Num
+                    Int
                 ClassName
                 RoleName
           Ref
index d073ff7..cab95a5 100644 (file)
@@ -882,9 +882,9 @@ that hierarchy represented visually.
       Undef
       Defined
           Value
-              Num
-                  Int
               Str
+                  Num
+                      Int
                   ClassName
                   RoleName
           Ref