Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: getlineChapter 8
Standard Modules
Next: Reference: opened
 

getlines

$fh->getlines

Works like <$fh> when called in an array context to read all the remaining lines in a file, but is more readable. croaks if called in scalar context.


Previous: Reference: getlinePerl in a NutshellNext: Reference: opened
Reference: getlineBook IndexReference: opened