in reply to Re^2: data manipulation case insensitive match
in thread data manipulation case insensitive match

Then do your counting in a case-insensitive approach:

my %count; $count{ lc $_ }++ for map { $_->{targetL} } @$results; my $winner = $count{ "akzent" }; my @matched = grep { lc $_->{targetL} eq $winner } @$results;