(And yes, I know this doesn't preserve values of zero or undef, but it seems unlikely that's desirable...)my ($country) = map { ( ! $_ or $_ eq 'gbr' ) ? '' : "[$_]" } $card- +>country;
In reply to Re: How Much Is Too Much (on one line of code)?
by simonm
in thread How Much Is Too Much (on one line of code)?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |