in reply to joining arrays
If you want to append a second array to an existing one, I think push(@a, @b); is more efficient than @a = (@a, @b):