diff options
author | Casey West <casey@geeknest.com> | 2003-04-28 16:30:03 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2003-04-28 16:30:03 +0000 |
commit | efb1e16277f66a0184224d33bb0713398ba162b2 (patch) | |
tree | 35d3f6f9ddb7f77e1e750c19149422953b49295f /pod/perlop.pod | |
parent | aa86364122f968303423b88e91864674c115d6fb (diff) | |
download | perl-efb1e16277f66a0184224d33bb0713398ba162b2.tar.gz |
[perl #7592] Clarify what qw() does in scalar context
Message-Id: <20030428140005.GC62281@geeknest.com>
p4raw-id: //depot/perl@19365
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r-- | pod/perlop.pod | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod index 94c930f333..bfbb048b09 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -1178,7 +1178,8 @@ equivalent to: split(' ', q/STRING/); -the difference being that it generates a real list at compile time. So +the differences being that it generates a real list at compile time, and +in scalar context it returns the last element in the list. So this expression: qw(foo bar baz) |