An alternative might be:
my $country; if ($country = $card->country) { $country = $country eq 'gbr' ? '' : uc "[$country]"; }
Cheers - L~R
In reply to Re: How Much Is Too Much (on one line of code)?
by Limbic~Region
in thread How Much Is Too Much (on one line of code)?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |