$lc = List::Compare->new(\@A, \@B);
@intersection = $lc->get_intersection;
@union = $lc->get_union;
@Lonly = $lc->get_unique;
@Ronly = $lc->get_complement;
@LorRonly = $lc->get_symmetric_difference;
| Previous | Back to start of show | Next |
| Slide: 34 list_compare | © 2003 James E. Keenan |