in reply to Re: eof not recognised when applying diamond operator to invocation arguments?
in thread eof not recognised when applying diamond operator to invocation arguments?
which prints the contents of the first file, then the separator, then the contents of the second file and the separator again.while( <> ) { print; print "========================== Now at $ARGV =================== +=======\n" if eof; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: eof not recognised when applying diamond operator to invocation arguments?
by Anonyrnous Monk (Hermit) on Jan 12, 2011 at 16:53 UTC |