Hi my dear perl-friends,
I'm trying to extract data from a big datafile to create many small ones where there is only the data from 1 person left.
My datafile is 3.4GB big so I have to proceed wisely. The format is like this:
- 4variables, which should find their way in every new file
- 9columns per person
My goal is, that I'm having in the end x files (where x=Number of people) where in each file there are 13 columns.
I just don't quite get my head around how I can code, that perl opens the "motherfile", prints columns 0-4 and 5-13 in one file; for the next file it would be columns 0-4 again and 14-22 and so on.
If anyone of you wise guys out there has a solution, I would be veeeeeery grateful to hear about it.
Thanks in advance