1

Look up data in another file and return another field

view story
linux-howto

http://www.unix.com – I'm a newbie to perl and not much of a coder in general, but I must use it at my new task at work. I have two text files that are several hundred MBs large. I need to pull in data from a column in file 2 into file 1. Basically, file 2 is the lookup table and I can key off the unique id column that they both share. I'm not sure how to go about this though. I figured I should do the following steps: -add the new field in file 1 for the returned value to be sent -delimit the files with tab and store in arrays -loop through each record in the unique id field of file1 and then loop through th (HowTos)