$
fh
->getline
Works like <$fh> , described in the section on "I/O Operators" in the perlop manpage, but is more readable and can be safely called in an array context, while still returning one line.
Copyright © 2001 O'Reilly & Associates. All rights reserved.