This is not correct. From perlop under I/O operators:
If a <FILEHANDLE> is used in a context that is looking for a list, a list comprising all input lines is returned, one line per list element.In reply to Re^2: Find most frequently used word in text file.
by hdb
in thread Find most frequently used word in text file.
by jonesd14
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |