summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2022-12-05 13:47:36 +0000
committerJames E Keenan <jkeenan@cpan.org>2022-12-05 13:47:36 +0000
commitd0a777fffcbb018434bd79aeb7c486a0f95595f1 (patch)
treeefeb42f2a1080b7f4b5c1b057c8eb5762976935b /pod/perlfunc.pod
parent14733d8a61afacead361cbb71efb4046e6dbe16a (diff)
downloadperl-d0a777fffcbb018434bd79aeb7c486a0f95595f1.tar.gz
Upper-case term for consistency with other 'substr' arguments
As noted by Eugen Konkov in https://github.com/Perl/perl5/issues/20560.
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 86b91d487b..39f749977d 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -8842,7 +8842,7 @@ Here's an example showing the behavior for boundary cases:
An alternative to using
L<C<substr>|/substr EXPR,OFFSET,LENGTH,REPLACEMENT> as an lvalue is to
specify the
-replacement string as the 4th argument. This allows you to replace
+REPLACEMENT string as the 4th argument. This allows you to replace
parts of the EXPR and return what was there before in one operation,
just as you can with
L<C<splice>|/splice ARRAY,OFFSET,LENGTH,LIST>.