Perl: Want to print a single line of a 2D array but help!

Bes

Bes

Soldato
Joined
18 Oct 2002
Posts
7,318
Location
Melbourne
Hi

This line

print "@{$AoA[$i]}";

doest work, but inserts spaces between the elements. I need colons. How can I do this?

Thanks
 
Ah typical - 2 mins after I post, I fix it (Spent an hour on this today :p)

print join(':',@{$AoA[$i]});
 
Back
Top Bottom