You are viewing the version of this documentation from Perl 5.005_02. View the latest version
output_field_separator HANDLE EXPR

The output field separator for the print operator. Ordinarily the print operator simply prints out the comma-separated fields you specify. To get behavior more like awk, set this variable as you would set awk's OFS variable to specify what is printed between fields. (Mnemonic: what is printed when there is a , in your print statement.)