http://qs1969.pair.com?node_id=286669


in reply to 'undef'ing a hash element

Hi!

You should use:

delete $hash{$a}

This removes the key/value pair. undef only sets the key's value to the undefined value.

Michele.