From: Gurusamy Sarathy Date: Wed, 24 Mar 1999 08:33:59 +0000 (+0000) Subject: add note about map in scalar context X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dd99ebda2fe680296a282a6804ed647eefc7f935;p=p5sagit%2Fp5-mst-13.2.git add note about map in scalar context p4raw-id: //depot/perl@3144 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 64f5aa4..c973d0c 100644 --- 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