I have an input file that is a concatenation of multiple files (variable length).
I am trying to write a perl script that will split the concatenated file into the multiple files that it is made up of.
E.g. the input file is as follows
The text "<start>" and "<end>" always delimit the files within the input file.
So in this case there would be two new files.
I also need to name the output files with the customer-id that is containned in the data.
So the first output file would be called, for example, 100.out and it would contain
and similarly for the second and ay subsequent files
Is all of this possible?
Thanks in advance.