From 91e74348ab129f737e0d9da75481cd4eb7414ba4 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 8 Aug 2000 18:28:13 +0000 Subject: Do away with array context, from Daniel Chetlin (either perlbug or p5p ate the original), plus regen perlapi and perltoc. p4raw-id: //depot/perl@6553 --- lib/FileHandle.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/FileHandle.pm') 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. =item $fh->getline This works like <$fh> described in L -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. -- cgit v1.2.1