in reply to Re^2: How to process several files with different line numbers
in thread How to process several files with different line numbers
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to process several files with different line numbers
by thanos1983 (Parson) on Jul 05, 2014 at 23:08 UTC |