Think about Loose Coupling | |
PerlMonks |
Re^?: Think for yourself.by Aristotle (Chancellor) |
on Oct 06, 2003 at 20:08 UTC ( [id://297059]=note: print w/replies, xml ) | Need Help?? |
Vaguely, because map has control structure characteristics rather than reading purely like a function. Unlike any of the "real" loops it does have a return value, however. Not so coincidentally, I've sometimes thought it would be nice if for could build a list as well - in which case any distinction between the two would really go out the window for good. Ruby works this way. Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|