Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Is it safe to use join on a hash?

by AnomalousMonk (Bishop)
on Sep 07, 2020 at 02:34 UTC ( #11121429=note: print w/replies, xml ) Need Help??


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:  <%-{-{-{-<

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11121429]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2020-10-21 13:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (217 votes). Check out past polls.

    Notices?