On Friday 21 June 2013 14:04:33 John W. Krahn wrote:

> print join( "\t", @array ), "\n";

Marc

The reason that John's code works and yours doesn't is that with John's code 
the join function only includes the @array which is what I'm guessing you 
meant.

What your code did was to tag the "\n" onto the end of the array then pass the 
whole thing to join.

Gary

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to