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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: framework for data parsing
by ady (Deacon) on Jun 20, 2008 at 05:00 UTC | |
Re: framework for data parsing
by Narveson (Chaplain) on Jun 20, 2008 at 04:26 UTC | |
by ikegami (Patriarch) on Jun 20, 2008 at 04:30 UTC | |
Re: framework for data parsing
by pc88mxer (Vicar) on Jun 20, 2008 at 08:14 UTC | |
by Narveson (Chaplain) on Jun 20, 2008 at 21:34 UTC | |
by sardare (Initiate) on Jun 22, 2008 at 05:17 UTC | |
Re: framework for data parsing
by metaperl (Curate) on Jun 23, 2008 at 14:53 UTC |
Back to
Seekers of Perl Wisdom