http://www.perlmonks.org?node_id=548191


in reply to parallel reading

Hi azaria!

Please advice how can i do it shortly?
The very short answer is: write some code. :-)

I would guess you need to open 3 files for input and 1 for output. Assuming fairly small input files, read the input into arrays, loop over them and build your output. Save your output to a file.

Try it and let us know how you get on.