|There's more than one way to do things|
Pattern Matchingby Tan (Initiate)
|on Dec 29, 2003 at 14:39 UTC||Need Help??|
Tan has asked for the
wisdom of the Perl Monks concerning the following question:
As someone who has started out on using Perl, I am faced with a problem which you may be able to recommend solutions to. It essentially requires pattern matching between two data files.
In file A i have the following fields of data:
etc... and in File B i may have data which will contain some of the above names although not strictly in the same order or description, e.g.
Ideally I need to search for these names and copy over the field entries for A B C D from one data file to another.
Can perl do "sounds like" pattern searching and then copy the contents of the array?
Cheers.Edited by Chady -- fixed formatting.