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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: getline Chapter 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. croak s if called in scalar context.


Previous: Reference: getline Perl in a Nutshell Next: Reference: opened
Reference: getline Book Index Reference: opened

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.