in reply to How Much Is Too Much (on one line of code)?
An alternative might be:
my $country; if ($country = $card->country) { $country = $country eq 'gbr' ? '' : uc "[$country]"; }
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How Much Is Too Much (on one line of code)?
by duckyd (Hermit) on Jun 21, 2007 at 02:35 UTC |