sub twice { 2 * $_[0] } @a = map twice, 1..3; print "@a\n"; ==> 0 0 0 [download]
In reply to Re^2: Problems with map(function, array) by Redei in thread Problems with map(function, array) by Redei