in reply to Re^2: Assign result of map to scalar variable
in thread Assign result of map to scalar variable

... if you read my node within the first few minutes ...

We may be playing update tag. I updated my original reply here (so quickly I thought no one would notice) to preface "... map will output a value..." with the qualification "As given in the OPed code, ".