Hi, I am new with Perl, and I am getting a little crazy trying to solve a problem with files (that is maybe trivial). I have two files in the form of columns separated by tabs, one with my data (IDs and numbers assigned to these IDs) and the other one with IDs conversions. I need to substitute the IDs in my data file for the other IDs. For example, my data file is like this:
ID number \n
house 325 \n
car 1456 \n
table 2489 \n
...
And the conversion file is:
car opel \n
house flat \n
table wood \n
...
What I want is something like this:
ID number
flat 325
opel 1456
wood 2489
...
I am going over through many tutorials but I am quite lost, I don't know how even start. Can someone help me? Many thanks,
Herny