my @unique = [1, 2, 3, 5, 2, 4, 3, -3, 7, 5, 6].unique;
Or just make a set of it.
set(1,2,3,5,2,4,3,-3,7,5,6).list
Last updated 1 year ago