http://www.perlmonks.org?node_id=818313


in reply to Re^2: Find number of unique values in hash
in thread Find number of unique values in hash

I like yours better.