summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pod/perlop.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 1a85955c70..29fceb3116 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -2610,7 +2610,8 @@ of those; in other words, an lvalue.
The characters delimitting I<SEARCHLIST> and I<REPLACEMENTLIST>
can be any printable character, not just forward slashes. If they
are single quotes (C<tr'I<SEARCHLIST>'I<REPLACEMENTLIST>'>), the only
-interpolation is removal of C<\> from pairs of C<\\>.
+interpolation is removal of C<\> from pairs of C<\\>, and hyphens are
+interpreted literally rather than specifying a character range.
Otherwise, a character range may be specified with a hyphen, so
C<tr/A-J/0-9/> does the same replacement as