note
imp
I don't mind the ternary, but including the postfix is excessive in my opinion. I'd prefer this:
<code>
my %ignore = ( gbc => 1);
my $country = $card->country;
if ($country) {
$country = $ignore{$country} ? '' : uc($country);
}
print $country;
</code>
621769
621769