in reply to Testing Hash with empty value in HoH
In your data structure change:
to:
or
This is not a Signature...
'pk2' => {},
to:
'pk2' => undef,
or
to:if( $hoh->{$k} )
if( keys %{$hoh->{$k}} )
This is not a Signature...
In Section
Seekers of Perl Wisdom