use List::Compare; @a = qw/AA12 BB13 CC14 DD15/; @b = qw/AA1 AA2 AA12 BB13/; $element = List::Compare->new(\@a, \@b); #@UF = $element->get_unique; @CB = $element->get_intersection; print join "\n", @CB;
In reply to Re: Comparing strings
by gasho
in thread Comparing strings
by tanyeun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |