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:
90ca0aa
)
add note about map in scalar context
author
Gurusamy Sarathy
<gsar@cpan.org>
Wed, 24 Mar 1999 08:33:59 +0000
(08:33 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Wed, 24 Mar 1999 08:33:59 +0000
(08:33 +0000)
p4raw-id: //depot/perl@3144
pod/perlfunc.pod
patch
|
blob
|
history
diff --git
a/pod/perlfunc.pod
b/pod/perlfunc.pod
index
64f5aa4
..
c973d0c
100644
(file)
--- a/
pod/perlfunc.pod
+++ b/
pod/perlfunc.pod
@@
-2244,6
+2244,8
@@
element) and returns the list value composed of the results of each such
evaluation. Evaluates BLOCK or EXPR in a list context, so each element of LIST
may produce zero, one, or more elements in the returned value.
+In scalar context, returns the total number of elements so generated.
+
@chars = map(chr, @nums);
translates a list of numbers to the corresponding characters. And