http://qs321.pair.com?node_id=668533


in reply to printing out tabs between each element in an array

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