perlfunc: Don’t put __SUB__ between substr entries
authorFather Chrysostomos <sprout@cpan.org>
Thu, 24 Nov 2011 04:31:55 +0000 (20:31 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 24 Nov 2011 09:45:31 +0000 (01:45 -0800)
I made the mistake of putting it after the first =item substr,
instead of before it.

pod/perlfunc.pod

index f59ffdc..532ea3b 100644 (file)
@@ -6908,9 +6908,6 @@ See L<perlsub> and L<perlref> for details about subroutines and
 references; see L<attributes> and L<Attribute::Handlers> for more
 information about attributes.
 
-=item substr EXPR,OFFSET,LENGTH,REPLACEMENT
-X<substr> X<substring> X<mid> X<left> X<right>
-
 =item __SUB__
 X<__SUB__>
 
@@ -6920,6 +6917,9 @@ C<undef> outside of a subroutine.
 This token is only available under C<use v5.16> or the "current_sub"
 feature.  See L<feature>.
 
+=item substr EXPR,OFFSET,LENGTH,REPLACEMENT
+X<substr> X<substring> X<mid> X<left> X<right>
+
 =item substr EXPR,OFFSET,LENGTH
 
 =item substr EXPR,OFFSET