The output record separator for the print operator. If defined, this value is printed after the last of print's arguments. Default isundef
.
You cannot calloutput_record_separator()
on a handle, only as a static method. SeeIO::Handle.
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.
Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.
The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.