in reply to Re^2: searching in array elements substrings contained in another array
in thread searching in array elements substrings contained in another array

How can undef values fall into @triple array?

Anyway here is the fix:

foreach my $q (@quadruple) { @triple = grep {$_ and $q !~ /$_/} @triple; }

Replies are listed 'Best First'.
Re^4: searching in array elements substrings contained in another array
by Anonymous Monk on Nov 17, 2008 at 20:56 UTC
    Thank you ccn! Now it works wonderfully! I'm grateful for the precious help Best regards Livius