Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: flushChapter 8
Standard Modules
Next: Reference: getlines
 

getline

$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.


Previous: Reference: flushPerl in a NutshellNext: Reference: getlines
Reference: flushBook IndexReference: getlines