Document length and substr, which are in the MethodProvider
Shawn M Moore [Sun, 23 Aug 2009 23:01:51 +0000 (19:01 -0400)]
lib/Moose/Meta/Attribute/Native/Trait/String.pm

index 861b5c7..95a48bc 100644 (file)
@@ -126,6 +126,15 @@ L<perlfunc/chomp>
 
 Sets the string to the empty string (not the value passed to C<default>).
 
+=item B<length>
+
+L<perlfunc/length>
+
+=item B<substr>
+
+L<perlfunc/substr>. We go to some lengths to match the different functionality
+based on C<substr>'s arity.
+
 =back
 
 =head1 METHODS