You could certianly use it but it won't work if you care about order. my $inlistAonly = any(@listA) ne any(@listB) That would return any elements of listA that have no corresponding partner in listB and you could do the same in reverse. I'm not sure thats realy what the OP was asking for though.
In reply to Re: Re: ugly nested if's
by eric256
in thread ugly nested if's
by wilbur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |