mimiandi has asked for the wisdom of the Perl Monks concerning the following question:
Sorry for the lack of clarity in my question. I have a list of all the employee's names in one file and the other fi +le has some names from some department. Input All employee file: John Smith Terry Smith Input Dept file: HR John Smith 6th floor R&D Terry Smith 5th floor I would like output to be if John Smith in Dept file exists in All emp +loyee file, print out his info. Hope that helps clear the question a bit. Thanks for your advice. Will definitely read the how not to ask questi +on :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: comparing two sets of data
by CountZero (Bishop) on Nov 28, 2012 at 07:15 UTC | |
|
Re: comparing two sets of data
by bitingduck (Deacon) on Nov 28, 2012 at 07:30 UTC | |
|
Re: comparing two sets of data
by ColonelPanic (Friar) on Nov 28, 2012 at 09:20 UTC | |
|
Re: comparing two sets of data
by marquezc329 (Scribe) on Nov 28, 2012 at 08:12 UTC |