in reply to Combining Arrays

I think I'd do something like this (assuming that we know the arrays are the same length):

@a = map { "$a[$_]-$b[$_]" } 0 .. $#a;
--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me