Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have multiple files that are set up as:
name,number
I want to search all the files and print only the names that are present at least once in each of the files AND have at least 25 matches amongst the all files.
I am new to coding and not sure how to best go about this. Was thinking of making hash using the names as the keys but I'm not sure how to to be sure that the name is present all four files and has 25 matches amongst all of them
Any help would be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Extracting common keys present in multiple files
by GrandFather (Saint) on Oct 27, 2015 at 03:01 UTC | |
by Anonymous Monk on Oct 27, 2015 at 03:31 UTC | |
|
Re: Extracting common keys present in multiple files
by GotToBTru (Prior) on Oct 27, 2015 at 13:27 UTC | |
|
Re: Extracting common keys present in multiple files
by tangent (Parson) on Oct 27, 2015 at 20:29 UTC |