returns the value of $h{$_} then increments it. If there is no value at $h{$_} perl will initialise it to zero.
So, for each value that $_ may be, the first evaluation is zero and subsequent evaluations are non-zero. The exclamation point negates the values into True if zero, False if non-zero.