If the skiplist is small enough, I'd chose something like $skip_rule = join("|", @skip_dbs); $skip_rule = qr{^(?:$skip_rule)$}; and then return grep {$_ !~ $skip_rule} @dbs. If the skip list is huge, that might not be such a good idea.
-Paul
In reply to Re: Difference Quantity of two Arrays
by jettero
in thread Difference Quantity of two Arrays
by ocs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |