Although not as nicely readable as Riales's solution, here's another option:
map{$setB{$_}++}@listB; @listC = grep{!$setB{$_}}@listA;
Hope this helps!
In reply to Re: comparing lists and getting an exemtion report
by Kenosis
in thread comparing lists and getting an exemtion report
by Saadat.123
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |