in reply to Re: Is it safe to use join on a hash?
in thread Is it safe to use join on a hash?

pritesh_ugrankar:   Note that List::Util::uniq() will return unique elements in the exact order of the input list (less duplicates, of course); this can be very useful in some cases. A duplicate removal approach like that shown here will return unique elements in random order.

Also note that in older (and also in current) versions of Perl, uniq() can also be found in the List::MoreUtils module; it has not always lived in List::Util.


Give a man a fish:  <%-{-{-{-<