It is considered polite to let people know if you already received an answer on StackOverflow:
http://stackoverflow.com/questions/10137638/perl-need-a-script-read-two-different-columns-in-two-csv-files-and-output-line.
I'm too lazy to be proud of being impatient.