http://qs1969.pair.com?node_id=693052

sam700 has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I need to parse data from many data sources which provide their data files in different formats along with a specification to parse the data. The data gets parsed into different formats as required by our systems. So there is: - Input data - Parse Specification - Output format - Output data The specification looks something like -- fieldA is from character 9 to 14 or field B is ... The files are all text files. Since this seems to be a common problem, I am wondering if there is a small framework out there I could use for this purpose. I can extend it to adapt to my own problems. But the idea is to make this as extensible and manageable as possible since there can be new data sources, change in specification or new specification, and change in output format. Any suggestions are most welcome. thank you, Sam