hi,

i have an array of arrays which contains equal elements. I would like to
isolate the unique values.

I have tried using the uniq method of  List::MoreUtils but it apparently
does not work with an AoA.

This is what I tried:

for my $i ( @$data_ref ) {
    push $seen_ref, [ $i->{'value1'}, $i->{'value2'}, $i->{'value3'},
$i->{'value4'}, ];
}

my @unique = uniq $seen_ref;

But unfortunately it does not work.

How could I achieve this?

TIA.

--
Groeten,
natxo

Reply via email to