summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/lib/FileHandle.pm
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/lib/FileHandle.pm')
-rw-r--r--contrib/perl5/lib/FileHandle.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/perl5/lib/FileHandle.pm b/contrib/perl5/lib/FileHandle.pm
index 34c3475..5eb3a89 100644
--- a/contrib/perl5/lib/FileHandle.pm
+++ b/contrib/perl5/lib/FileHandle.pm
@@ -238,12 +238,12 @@ See L<perlfunc/printf>.
=item $fh->getline
This works like <$fh> described in L<perlop/"I/O Operators">
-except that it's more readable and can be safely called in an
-array context but still returns just one line.
+except that it's more readable and can be safely called in a
+list context but still returns just one line.
=item $fh->getlines
-This works like <$fh> when called in an array context to
+This works like <$fh> when called in a list context to
read all the remaining lines in a file, except that it's more readable.
It will also croak() if accidentally called in a scalar context.
OpenPOWER on IntegriCloud