http://www.perlmonks.org?node_id=668555


in reply to Re: printing out tabs between each element in an array
in thread printing out tabs between each element in an array

Remember to restore the output field separator to its default value after you're done with the tab formating

One way to make it difficult to forget is to keep the localisation within the print statement by using a do block.

print ARRAY_CONTENTS do { local $" = "\t"; "@cols_for_row\n"; };

I hope this is of interest.

Cheers,

JohnGG