Help for this page
my %all_ids = map { $_ => undef } @all_ids; # note there's multiple w +ays to init this hash ... # or grep instead of while: my @missing_keys = grep( !exists $all_ids{$_}, keys %hash);