in reply to inserting a new line after some elemnts in an array
for (my $i=0; $i<@array; $i+=2 ) { $array[$i] .= "\n"; } [download]