in reply to Re: How can I display a unique array if it contains some repeated elements
in thread How can I display a unique array if it contains some repeated elements
This is fine for some cases, but it does not preserve the ordering of the elements in the array. The origial poster did not indicate if they cared. Anyway, as IO pointed out, the node How can I extract just the unique elements of an array? discusses several methods for dealing with this depending upon the data that you are dealing with.
-ben
In Section
Seekers of Perl Wisdom