in reply to Re: reading multiple files one at a time
in thread reading multiple files one at a time
The 'extra' close allows for error checking as well, that's why it's a good idea to keep it - of course only if you really check for errors ;) close FILE or die "Couldn't close file: $!";
If you nevertheless want the continous counting of lines a la $. it shouldn't be a problem to do that yourself with something like $linecount++
-- Hofmator
|
|---|