good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Search & Replace Across Two Filesby sophix (Sexton) |
on Nov 21, 2010 at 11:18 UTC ( [id://872778]=perlquestion: print w/replies, xml ) | Need Help?? |
sophix has asked for the wisdom of the Perl Monks concerning the following question: Hi all, I am stuck with this search&replace problem and would appreciate your help. What I would like to do is to find the ids in a file and replace them with their descriptions provided in another text file. Here is the reference file - tab-delimited
And here is the file to be read and in which the replacements to be included
The desired output would look like this:
And here is the script that I wrote but it does not work - not even generating error
Back to
Seekers of Perl Wisdom
|
|