summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-02-09 00:03:26 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-02-09 00:03:26 +0000
commit26ef7447c0b4d04a31bae92a55d2f6f9abf46c3c (patch)
treefb5afc8f62d930d2e9673935d7e7724efad1d54d /pod/perlop.pod
parent567ce7b1052f5b50bba2cc76669272fe5ef2b2bb (diff)
downloadperl-26ef7447c0b4d04a31bae92a55d2f6f9abf46c3c.tar.gz
clarify docs for change#2835
p4raw-link: @2835 on //depot/perl: 8127e0e3c3aeffc5d0bcdebd664c0fd7cd5bd9fe p4raw-id: //depot/perl@2845
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod9
1 files changed, 8 insertions, 1 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 4b49808523..b386651eee 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -1046,7 +1046,14 @@ equivalent to:
split(' ', q/STRING/);
-the difference being that it generates a real list at compile time.
+the difference being that it generates a real list at compile time. So
+this expression:
+
+ qw(foo bar baz)
+
+is exactly equivalent to the list:
+
+ ('foo', 'bar', 'baz')
Some frequently seen examples: