Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Uniq and sort in perl

by johngg (Abbot)
on Jul 12, 2012 at 09:40 UTC ( #981347=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
       grep { not $seen{ $_ } ++ }
       @lines
       };
    
  2. or download this
    ows301.dom.com, 10.157.118.42,
    oem300.dom.com, 10.157.124.58,
    omo300.dom.com, 10.157.124.58,
    pwd302.dom.com, 10.157.126.58,
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://981347]
help
Chatterbox?
[erix]: oh well, in each life some rain must fall
[erix]: if you're interested in tsv file reading in pg, look at file_fdw
[erix]: aka: create extension if not exists file_fdw;

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2018-02-23 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (302 votes). Check out past polls.

    Notices?