summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod4
1 files changed, 3 insertions, 1 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 86cb294fe3..4430fe7609 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -238,7 +238,9 @@ Binary "x" is the repetition operator. In scalar context or if the left
operand is not enclosed in parentheses, it returns a string consisting
of the left operand repeated the number of times specified by the right
operand. In list context, if the left operand is enclosed in
-parentheses, it repeats the list.
+parentheses, it repeats the list. If the right operand is zero or
+negative, it returns an empty string or an empty list, depending on the
+context.
print '-' x 80; # print row of dashes