print READ "is empty!\n";
as Athanasius points out: this tries to write "is empty!" to the file READ.
Probably what you intended was to print the file name with that message instead of (mis)using the file handle - should look like
print "$arg is empty!\n";In reply to Re^3: How to process several files with different line numbers
by soonix
in thread How to process several files with different line numbers
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |