$fh->getlines
fh
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.
croak
[ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ]