Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Remove Duplicates!! Please Help

by ww (Archbishop)
on Jan 03, 2008 at 15:40 UTC ( [id://660219]=note: print w/replies, xml ) Need Help??


in reply to Remove Duplicates!! Please Help

You probably should do this by using a hash, but since the two items to which you refer are NOT "duplicates," perhaps you could clarify a bit.

Update: lagged again. s/using a hash,/using a hash, perhaps as above,/

Replies are listed 'Best First'.
Re^2: Remove Duplicates!! Please Help
by davidrw (Prior) on Jan 03, 2008 at 15:54 UTC
    OP said "I want to remove duplicate entries for one single instance of COMPUTER column." So, for OP's purpose's, the two items are dups -- both have the first (Computer) column value of '30F-WKS' .. which leads right into to your comment of needing a hash (e.g. see the one-liner solutions)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found