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.
In reply to Re: Opening a File from the Command Line
by 7stud
in thread Opening a File from the Command Line
by dukea2006
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |