> 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)
In reply to Re^2: hash to count occurences
by LanX
in thread hash to count occurences
by gayagrad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |