You can set the output field separator to the tab character.
$" = "\t"; print ARRAY_CONTENTS "@cols_for_row\n";
Remember to restore the output field separator to its default value after you're done with the tab formating
|Replies are listed 'Best First'.|
Re^2: printing out tabs between each element in an array
by johngg (Canon) on Feb 18, 2008 at 14:15 UTC
|A reply falls below the community's threshold of quality. You may see it by logging in.|