Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Get unique fields from file

by tybalt89 (Monsignor)
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-10-04 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (18 votes). Check out past polls.

    Notices?