Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: move the line if particular column is duplicate or more than 1 entries

by Laurent_R (Canon)
on Mar 17, 2013 at 21:49 UTC ( #1023941=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %already_seen;
    while (<>) {
         my @temp = split /\s\, $_;
    ...
              print $output2 $_;
         }
    }
    
  2. or download this
    $key = join " ", (split / /, $_) [1,2];

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023941]
help
Chatterbox?
[nysus]: so, I can't seem to post to perlmonks

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-12-15 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (416 votes). Check out past polls.

    Notices?