in reply to Two handy tools for nested arrays: mapat and transpose
in the above code with:$result = matrixwise_map(\&f, $mats); print dumpf($result), $/;
to give me the same answer as in the comments.my @result = matrixwise_map(\&f, $mats); print dumpf(@result), $/;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Small typo
by tmoertel (Chaplain) on Apr 06, 2005 at 13:47 UTC |