summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorDan Book <grinnz@grinnz.com>2019-07-20 11:40:45 -0400
committerKarl Williamson <khw@cpan.org>2019-07-20 15:53:01 -0600
commitc3d72fbe6ba0379df9f7ea44fc8195677cce0ade (patch)
treecb0a7f6bc0a1ba6f9a8108b815f666971f55fa35 /pod/perlfunc.pod
parent4a5ab54a18679ab24ca03190884d326c2ca85288 (diff)
downloadperl-c3d72fbe6ba0379df9f7ea44fc8195677cce0ade.tar.gz
update 'say' docs to better represent reality
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 0e50132907..066cd268db 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -6789,8 +6789,8 @@ X<say>
=for Pod::Functions +say output a list to a filehandle, appending a newline
Just like L<C<print>|/print FILEHANDLE LIST>, but implicitly appends a
-newline. C<say LIST> is simply an abbreviation for
-C<{ local $\ = "\n"; print LIST }>. To use FILEHANDLE without a LIST to
+newline at the end of the LIST instead of any value L<C<$\>|perlvar/$\>
+might have. To use FILEHANDLE without a LIST to
print the contents of L<C<$_>|perlvar/$_> to it, you must use a bareword
filehandle like C<FH>, not an indirect one like C<$fh>.