Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: how to compare column 1 to column 2 and vice versa from multiple rows.

by BhariD (Sexton)
on Oct 02, 2009 at 18:46 UTC ( #798923=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ( $seen{ join ' ', sort @F }++ ) {
        $uniq{$F[0]}++;
    ...
    END {
        print for keys %uniq;
    }
    
  2. or download this
    my @F = <DATA>;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://798923]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2017-07-27 03:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (402 votes). Check out past polls.