Help for this page

Select Code to Download


  1. or download this
    my %seen;
    my @combined = grep !$seen{ $_ }++, @list1, @list2, @list3;
    
  2. or download this
    use List::Util qw( uniq );
    
    my @combined = uniq @list1, @list2, @list3;