start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: flush Chapter 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: flush Perl in a Nutshell Next: Reference: getlines
Reference: flush Book Index Reference: getlines