in reply to How can I display a unique array if it contains some repeated elements

use List::MoreUtils qw(uniq); my @list = (1,1,2,3,3,4); print join( ',', uniq(@list) );
  • Comment on Re: How can I display a unique array if it contains some repeated elements
  • Download Code