Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-11-26 12:21 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (697 votes), past polls