in reply to Re: Re: Re: Re: I'm so confused
in thread I'm so confused

Instead of join to add the newlines, you want to use map. Something along the lines of:
@out = map { "$_\n" } @out;
What map does is to do the action in {} to every element in the array. :-)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.