summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
authorYitzchak Scott-Thoennes <sthoenna@efn.org>2005-05-24 01:52:00 -0700
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-05-24 15:44:52 +0000
commit3585017fa3325abea83bccc0b2f2e0fc4d3231f3 (patch)
treef7025a979cb6c8f05a54486509eb6e2092e791d0 /pod/perlop.pod
parent16580ff596d3844ac4e62fa769c913cc47285a8f (diff)
downloadperl-3585017fa3325abea83bccc0b2f2e0fc4d3231f3.tar.gz
Clarification on the behaviour of qw// and x :
Subject: [PATCH] Re: [perl #35885] qw and x operators doesn't mix Message-ID: <20050524155200.GA1784@efn.org> p4raw-id: //depot/perl@24567
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index f4e9c291ae..b86dda4fba 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -250,9 +250,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. If the right operand is zero or
-negative, it returns an empty string or an empty list, depending on the
-context.
+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
+or an empty list, depending on the context.
print '-' x 80; # print row of dashes