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


in reply to Re^2: Concatenating arrays fetched from different text files
in thread Concatenating arrays fetched from different text files

What do you mean by the 4th element of each array? From everything you said previously, you seemed to be willing to use all elements of the arrays. Or perhaps you mean that you need to use the 4th element of each line of the input files? Your requirement is not clear to me.