Hello I'm just minutes away from bashing the famous 'head against the monitor'. Here's my problem:
I have an array, let's name it @input. Another array, @blacklist, contains lines which should be matched against the @input array and then do something. I tried something like: foreach $line (@input) { foreach $cond (@blacklist) { if ($line =~ /$cond/) {print "True"}; #or do sth. else here. #Just an example }; }; Isn't shis code supposed to read the first line of the @input array then read the first line of the @blacklist array, see if the $line contains a $cond and then ptrint "true". After that it should carry on with the second line from both arrays.... I tried several variants, which all produced some weird output (either too less or to many matches etc.). What am I missing here? I greatly appreciate your help. Greetings, Philipp -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]