in reply to Re: Problems with map(function, array)
in thread Problems with map(function, array)
My problem is what happens when I don't use $_:
sub twice { 2 * $_[0] } @a = map twice, 1..3; print "@a\n"; ==> 0 0 0
In Section
Seekers of Perl Wisdom