use List::Util qw( any ); next if any { $_ eq $offer{retailer} } @ignore_merchants;