Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Alternative to smart matchby LanX (Saint) |
on Jan 22, 2022 at 01:12 UTC ( [id://11140693]=note: print w/replies, xml ) | Need Help?? |
I think you want a %seen hash push @authority, $full unless $seen{$full}++; if order doesn't matter you just built up %seen and do @authority = keys %seen at the end.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|