X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fgrab;h=8533a4ea3bcff4f398863b6113f7819203a80f9a;hb=66e37f15fc46a64b40b7eee01b0b9fa48ef91ddc;hp=3aefa1b81d3a237f1ca03c6383f9474a221881e0;hpb=f813275d84493d042312b7ed59d277c50771f14b;p=biopieces.git diff --git a/bp_bin/grab b/bp_bin/grab index 3aefa1b..8533a4e 100755 --- a/bp_bin/grab +++ b/bp_bin/grab @@ -158,7 +158,7 @@ sub grab_lookup } if ( not $keys_only ) { - map { return 1 if $record->{ $_ } and exists $lookup_hash->{ $record->{ $_ } } } keys %{ $record }; + map { return 1 if defined $record->{ $_ } and exists $lookup_hash->{ $record->{ $_ } } } keys %{ $record }; } }