in reply to Re: hash to count occurences
in thread hash to count occurences

almost

> If a hash-entry does not yet exist, it will be created with the initial value of 1.

the initial value is undef, when incremented undef is interpreted as 0.

Cheers Rolf

( addicted to the Perl Programming Language)