![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: combining 2 files with a comon fieldby mattk (Pilgrim) |
on May 18, 2005 at 13:03 UTC ( #458182=note: print w/replies, xml ) | Need Help?? |
This is assuming the files have the same amount of lines:
Reads in one line from each file, extracts the column values using map and a regex, and then prints out a new line containing both column values, plus a header made from $.
In Section
Seekers of Perl Wisdom
|
|