http://www.perlmonks.org?node_id=636967


in reply to Merged list with regex matches

Can you clean up your "dirty" list then use the two lists with something like List::Compare to create an array with your results? (I think what you want is the intersection of the two lists.)

Cheers,

Brent

-- Yeah, I'm a Delt.