You're looking to write a basic file splitter.
So what have you tried thus far?
We can help you when get stuck on Perl, but if what you're stuck on is software design, then you should probably look for softwaredesignmonks.org
(In other words, we won't do your homework for you, but if you're stuck doing your homework, we can help you get unstuck. "help you" is not synonymous with "do your work for you".)
For example: You need to read in one file and write a bunch of others, right? So, surely you've written code that reads the file in, right? Show us that code.
update: Also, please advise if you would like comments on code style, or just code functionality. I won't waste your time if you don't want to hear about my opinion on "better" ways to do something you wrote which is, of its own right, functional to your needs.
In reply to Re: extraction of text between 2 similar patterns in a text file
by marinersk
in thread extraction of text between 2 similar patterns in a text file
by seek_m
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |