in reply to Re^2: Question about ++ and hash value
in thread Question about ++ and hash value

The keys of the hash are the lines that appear in the input (less the character removed by chop). The values are how many times each line has been encountered.