summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-08-21 14:23:05 -0600
committerKarl Williamson <khw@cpan.org>2014-08-21 14:49:46 -0600
commit31201a8eb4122ec3b968b299f20bdec91a6f8ce2 (patch)
tree7525a54f0f738d4e5fdf1602afcee4867f37119b /pod/perlop.pod
parent62a59291d781403a6b0e279db4433a5f486e3a61 (diff)
downloadperl-31201a8eb4122ec3b968b299f20bdec91a6f8ce2.tar.gz
perlop: Note that negative rep now warns
This doc change was missed in b3211734a7d280a8b7c6acaaba333f8f6a314675 but it appears that this will not be reverted, so safe to go in now without having to worry very much about synchronizing should there be a reversion
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index f00c134827..d21d7faaf9 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -322,7 +322,8 @@ 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 or is a list formed by C<qw/STRING/>, it repeats the list.
-If the right operand is zero or negative, it returns an empty string
+If the right operand is zero or negative (raising a warning on
+negative), it returns an empty string
or an empty list, depending on the context.
X<x>