P is for Practical | |
PerlMonks |
Re: Unexpected results when removing a HERE-DOC "ending" newline, with map and/or s/// depending on context.by fglock (Vicar) |
on Dec 09, 2004 at 02:19 UTC ( [id://413405]=note: print w/replies, xml ) | Need Help?? |
map() normally returns a list. However, if the result is being assigned to a scalar, it returns a count. See perldoc -f map
In Section
Seekers of Perl Wisdom
|
|