Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 about the Monastery: (6)
As of 2017-09-21 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (252 votes). Check out past polls.

    Notices?