summaryrefslogtreecommitdiff
path: root/lib/FileHandle.pm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-08 18:28:13 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-08 18:28:13 +0000
commit91e74348ab129f737e0d9da75481cd4eb7414ba4 (patch)
treeb700d3ed7ddb36fb2d15c007f31f5bd0346d8418 /lib/FileHandle.pm
parent1426bbf4b7d39af0f80ec0afcb4869d2bc3f0a90 (diff)
downloadperl-91e74348ab129f737e0d9da75481cd4eb7414ba4.tar.gz
Do away with array context, from Daniel Chetlin <daniel@chetlin.com>
(either perlbug or p5p ate the original), plus regen perlapi and perltoc. p4raw-id: //depot/perl@6553
Diffstat (limited to 'lib/FileHandle.pm')
-rw-r--r--lib/FileHandle.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/FileHandle.pm b/lib/FileHandle.pm
index 34c3475d9c..5eb3a89adc 100644
--- a/lib/FileHandle.pm
+++ b/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.