projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa86364
)
[perl #7592] Clarify what qw() does in scalar context
author
Casey West
<casey@geeknest.com>
Mon, 28 Apr 2003 16:30:03 +0000
(16:30 +0000)
committer
Artur Bergman
<sky@nanisky.com>
Mon, 28 Apr 2003 16:30:03 +0000
(16:30 +0000)
Message-Id: <
20030428140005
.GC62281@geeknest.com>
p4raw-id: //depot/perl@19365
pod/perlop.pod
patch
|
blob
|
history
diff --git
a/pod/perlop.pod
b/pod/perlop.pod
index
94c930f
..
bfbb048
100644
(file)
--- 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)