Hi
( 02.11.01 13:42 -0500 ) Perrin Harkins:
> It's not that map is so evil, but rather that I have often seen people
> overuse it (especially after a first-reading of "Effective Perl"), and
> write confusing code with it by jamming too much into the "map { some
> stuff } @list" form.
As a former map addict, I was shown the error of my ways on
#[EMAIL PROTECTED] when it was pointed out to me that map
returns a value. If you're not going to use that value, just use
for[each].
This way the code is easier to read and the extra overhead of the return
value [minute as it is] is avoided.
--
.--- ...