Hello Discipulus :). Actually there is no need for -n, because that's what while (<>) { } does (and -n just adds that loops around your code, as can be seen with -MO=Deparse). It opens each file passed as an argument in the filehandle ARGV, or reads from STDIN is @ARGV == 0.
In reply to Re^2: count total number of occurrence in all files
by Eily
in thread Reaped: count total number of occurrence in all files
by NodeReaper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |