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


in reply to Re^3: On bad habits
in thread On bad habits

If i am going to use a newline frequently, i add the -l (dash elle) run switch
And if I want the effect locally, I set $\ (and optionally, $,) in a block, for example to print out a tab delimited text file:
{ local($\, $,) = ("\n", "\t"); print @fields; }