my $country; if ($country = $card->country) { $country = $country eq 'gbr' ? '' : uc "[$country]"; }