See the docs for eof in perlfunc. It gives a recipe on how you can use eof() to detect the end of each file.
In reply to Re: Changing the output filehandle while iterating input files.
by ambrus
in thread Changing the output filehandle while iterating input files.
by reedx032
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |