in reply to RE: Mapping restrictions
in thread Mapping restrictions

And yet another:

my %h2 = map { exists $h1{$_} ? ($_ => $h1{$_}) : () } @set;