It's counting the number of times a given line appears in a file. $hash{$line}++ is incremented by 1 (set to one automagically on the first instance of $line) each time $line (well, $line minus the piece removed by chop) appears.
In reply to Re: Question about ++ and hash value
by swampyankee
in thread Question about ++ and hash value
by ada
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |