in reply to
Combining Arrays
Well, I think you've got the right idea, but there is no need to do that asignment inside map. Try this (which is basically your code without the asignment):
@a = map {"$_-" . shift @b } @a;
[download]
The 15 year old, freshman programmer,
Stephen Rawls
Comment on
Re: Combining Arrays
Download
Code
In Section
Seekers of Perl Wisdom