in reply to Opening a File from the Command Line
while (<>) {
That thing -> <> is called the 'diamond operator', and it assumes all the words entered on the command line are file names. It then combines all the files into one big file and reads one line at a time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Opening a File from the Command Line
by FunkyMonk (Bishop) on Apr 07, 2010 at 00:17 UTC |