|Just another Perl shrine|
compare two files by column and return second (matching) columnby ejbiers (Initiate)
|on Aug 06, 2012 at 17:22 UTC||Need Help??|
ejbiers has asked for the
wisdom of the Perl Monks concerning the following question:
I have two files. File A contains 2 columns (tab separated) and File B contains 1 column.
ex. File A
What I'd like to get in an output file is:
I am a novice at perl and have been trying to modify the following script (designed to count the number of occurrences) to meet my needs with no success. Could someone suggest how to modify this script? Thanks for any help you can give!