Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Get unique fields from file

by tybalt89 (Prior)
on Jan 07, 2022 at 02:29 UTC ( #11140230=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
      }
    print join "\n", "UNIQUE VALUES for $_:", (sort keys %{ $seen{$_} }), 
    +"\n"
      for @headers;
    
  2. or download this
    UNIQUE VALUES for head1:
    val1
    ...
    UNIQUE VALUES for head3:
    val3
    val5
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11140230]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2022-08-18 23:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?