do {my $tmp = $_ -> {$client}; return $$tmp if $tmp;} for $export_def->{'..client_default_ver +sion'};
But then you have $tmp three times. And you can still leave the sigil off of $client and have strangely behaving code.
Abigail
In reply to Re: optimization - exists should return a reference
by Abigail-II
in thread optimization - exists should return a reference
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |