Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://798923]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found