in reply to Find & Delete by comparing two files

G'day perlpoda,

Welcome to the monastery.

Without any code or data, you're only going to get vague responses. Follow these guidelines for a better answer: How do I post a question effectively?

Here's a basic technique that does the sort of thing you appear to want:

$ perl -Mstrict -Mwarnings -E ' my @identified_bad_links = (qw{a c e}); my %bad_link = map { $_ => 1 } @identified_bad_links; my @all_links = (qw{a b c d e f g}); say $_ for grep { ! $bad_link{$_} } @all_links; ' b d f g

-- Ken