in reply to Re: Get All Duplicated Elements in an Array (Once, without shifting)
in thread Get All Duplicated Elements in an Array (Once, without shifting)
That is, of course,
print if $keycount{$_} > 1;
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom