in reply to Re^5: File Reading and Closing confusionin thread File Reading and Closing confusion
while (<FH>) { ... } [download]
$line = <FH>; # on its own / not as while condition [download]