The only way (eof) can check for per-file eof as documented would be if it read from the real file handle instead of the magical handle. The magical handle doesn't move to the next file because it's not used.
In reply to Re^3: perl -i -pe ... with eof() testing
by ikegami
in thread perl -i -pe ... with eof() testing
by Anonyrnous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |