You are viewing the version of this documentation from Perl 5.14.1. View the latest version
Handle->output_record_separator( EXPR )
$OUTPUT_RECORD_SEPARATOR
$ORS
$\

The output record separator for the print operator. If defined, this value is printed after the last of print's arguments. Default is undef.

Mnemonic: you set $\ instead of adding "\n" at the end of the print. Also, it's just like $/, but it's what you get "back" from Perl.