I'd write it in the following way:
my $country = $card->country; if( $country ) { $country = $country eq 'gbr' ? '' : uc "[$country]"; } # if $country
Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"
In reply to Re: How Much Is Too Much (on one line of code)?
by strat
in thread How Much Is Too Much (on one line of code)?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |