ybiC has asked for the wisdom of the Perl Monks concerning the following question:
I have a file containing perhaps one hundred unqualified hostnames, one per line. How can I eliminate duplicates (or extract uniques) then sort alphabetically? Perfunc:sort looks good for the sorting part, but the duplicates/uniques has me at a loss.
A super search for either word turns up many hits, but nothing I caught that hits the spot. I don't have access to my O'Reilly books at the moment, otherwise would look to the Llama or Ram first.
thanks in advance,
ybiC
Back to
Seekers of Perl Wisdom