summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-02-17 23:30:47 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-02-17 23:30:47 +0000
commit449bc448608ab0510bce029f04816fc3b63d7d6a (patch)
tree347b0d5140ead6bdf2275b489af0e41593fa4b90 /pod/perlfunc.pod
parent393d87f4ac33f9d41aea76fbc0a8b15060e22ec9 (diff)
downloadperl-449bc448608ab0510bce029f04816fc3b63d7d6a.tar.gz
correct slurp mode doc
p4raw-id: //depot/perl@2969
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 1297e714ea..c4e9482f13 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -2911,9 +2911,9 @@ reads until end-of-file is reached and returns a list of lines. Note that
the notion of "line" used here is however you may have defined it
with C<$/> or C<$INPUT_RECORD_SEPARATOR>). See L<perlvar/"$/">.
-When C<$/> is set to C<undef> and when readline() is in a scalar
-context (i.e. file slurp mode), it returns C<''> the first time,
-followed by C<undef> subsequently.
+When C<$/> is set to C<undef>, when readline() is in a scalar
+context (i.e. file slurp mode), and when an empty file is read, it
+returns C<''> the first time, followed by C<undef> subsequently.
This is the internal function implementing the C<E<lt>EXPRE<gt>>
operator, but you can use it directly. The C<E<lt>EXPRE<gt>>