Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: remove duplicates from an array!

by kirillm (Friar)
on Jan 07, 2008 at 22:47 UTC ( [id://660963]=note: print w/replies, xml ) Need Help??


in reply to remove duplicates from an array!

You were given several solutions in reply to Remove Duplicates!! Please Help, for example see my post Re: Remove Duplicates!! Please Help.

-- Kirill

P.S. In your code you don't have an array of arrays, but a plain array of strings...

Replies are listed 'Best First'.
Re^2: remove duplicates from an array!
by nashkab (Novice) on Jan 07, 2008 at 22:56 UTC
    Hi Kirill, Thanks for the response. In My previous post the data was in a file. Now for this problem the data is in an array.
      In My previous post the data was in a file. Now for this problem the data is in an array.

      That doesn't matter. The answer to "How do I remove duplicates from a set of data?" is the same. You may have to transform your data into a form more amenable to this operation, but the techniques for removing duplicates are the same.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found