diff options
author | Xavier Noria <fxn@hashref.com> | 2005-10-16 14:27:30 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-10-17 10:16:30 +0000 |
commit | d6584ed888482007614ade158c6741c0c11763fd (patch) | |
tree | d1a6200344ee52fbc08262cb97a8d020911789d0 /pod/perlvar.pod | |
parent | 585ec06d680e861557397efeb05210638532c6dc (diff) | |
download | perl-d6584ed888482007614ade158c6741c0c11763fd.tar.gz |
Re: small addition to $, and $\ in perlvar.pod
Message-Id: <7CA83392-70CD-4AC8-AA44-D94F508BB028@hashref.com>
p4raw-id: //depot/perl@25780
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r-- | pod/perlvar.pod | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod index b001378a62..dbc82ec2e2 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -411,12 +411,9 @@ for that. (Mnemonic: when you want your pipes to be piping hot.) =item $, -The output field separator for the print operator. Ordinarily the -print operator simply prints out its arguments without further -adornment. To get behavior more like B<awk>, set this variable as -you would set B<awk>'s OFS variable to specify what is printed -between fields. (Mnemonic: what is printed when there is a "," in -your print statement.) +The output field separator for the print operator. If defined, this +value is printed between each of print's arguments. Default is C<undef>. +(Mnemonic: what is printed when there is a "," in your print statement.) =item IO::Handle->output_record_separator EXPR @@ -426,14 +423,10 @@ your print statement.) =item $\ -The output record separator for the print operator. Ordinarily the -print operator simply prints out its arguments as is, with no -trailing newline or other end-of-record string added. To get -behavior more like B<awk>, set this variable as you would set -B<awk>'s ORS variable to specify what is printed at the end of the -print. (Mnemonic: you set C<$\> instead of adding "\n" at the -end of the print. Also, it's just like C<$/>, but it's what you -get "back" from Perl.) +The output record separator for the print operator. If defined, this +value is printed after the last of print's arguments. Default is C<undef>. +(Mnemonic: you set C<$\> instead of adding "\n" at the end of the print. +Also, it's just like C<$/>, but it's what you get "back" from Perl.) =item $LIST_SEPARATOR |