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

Re: Order-Preserving and Unique: List Cleanup

by Mr_Person (Hermit)
on Jul 31, 2003 at 02:48 UTC ( #279454=note: print w/ replies, xml ) Need Help??


in reply to Order-Preserving and Unique: List Cleanup

You might also take a look at Array::Unique. Its only dependencies are Perl 5, but it is not a core module itself. I only found out about it recently but from what I've used of it, it seems to work well. I agree with princepawn that it would be nice if Perl had a built-in uniq function because this problem does tend to come up fairly often and it would make sense not to have to rely on an extra module.


Comment on Re: Order-Preserving and Unique: List Cleanup
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2015-07-04 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls