in reply to looping idiom
If that wasn't silly, this certainly won't be...foreach (@data) { print "$_"; print "\t"; } print "\b"; # backspace over the last tab
"Silly" is relative.my $string; foreach( @data ){ $string .= "$_\t"; } chop( $string ); # not chomp, but chop. print $string;
|
|---|