in reply to Re^2: perl -i -pe ... with eof() testing
in thread perl -i -pe ... with eof() testing
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perl -i -pe ... with eof() testing
by Anonyrnous Monk (Hermit) on Feb 08, 2011 at 20:38 UTC |