in reply to Supreme Laziness
should work... but untested. Put all states known in a hash, then grep tax_ids dropping any states you already have, by looking for them in the hash and keeping those that don't existmy %states; @states{@db_state} = (1) x @db_state; @add = grep { !exists $states{$_} } @tax_ids;
- Ant
- Some of my best work - Fish Dinner
|
|---|