in reply to
2 newby questions
You seem to be misunderstanding how hashes work. A value is associated to a key, not vice versa. Therefore,
$hash{key}++
increases the value associated with key, not the key itself.
Comment on
Re: 2 newby questions
Download
Code
In Section
Seekers of Perl Wisdom