This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
335ac2c
)
remove bogus < in B<> formatting code
author
Ricardo Signes
<rjbs@cpan.org>
Fri, 9 Sep 2011 02:52:09 +0000
(22:52 -0400)
committer
Ricardo Signes
<rjbs@cpan.org>
Fri, 9 Sep 2011 03:09:12 +0000
(23:09 -0400)
pod/perlfunc.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlfunc.pod
b/pod/perlfunc.pod
index
f76c47c
..
7799fe4
100644
(file)
--- a/
pod/perlfunc.pod
+++ b/
pod/perlfunc.pod
@@
-6866,7
+6866,7
@@
X<substr> X<substring> X<mid> X<left> X<right>
=item substr EXPR,OFFSET
Extracts a substring out of EXPR and returns it. First character is at
=item substr EXPR,OFFSET
Extracts a substring out of EXPR and returns it. First character is at
-offset C<0> (or whatever you've set C<$[> to (but B<
<
don't do that>)).
+offset C<0> (or whatever you've set C<$[> to (but B<don't do that>)).
If OFFSET is negative (or more precisely, less than C<$[>), starts
that far back from the end of the string. If LENGTH is omitted, returns
everything through the end of the string. If LENGTH is negative, leaves that
If OFFSET is negative (or more precisely, less than C<$[>), starts
that far back from the end of the string. If LENGTH is omitted, returns
everything through the end of the string. If LENGTH is negative, leaves that