I think it's too much.
my $country = $card->country; $country = '' if $country eq 'gbr'; $country = uc("[$country]") if $country;
That, or:
my $country = $card->country; if ($country and $country ne 'gbr') { $country = uc("[$country]"); } else { $country = ''; }
In reply to Re: How Much Is Too Much (on one line of code)?
by ForgotPasswordAgain
in thread How Much Is Too Much (on one line of code)?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |