in reply to One liner to Check and undef hash elements
At 2.), I interpreted your question as in just emptying all slots, without removing their keys.# 1.) scalar grep defined, values %$hash; # 2.) undef $_ for values %$hash;
Makeshifts last the longest.
|
|---|