12-12-2009 08:18 AM
I'm about to write some PERL code, helping me managing hundreds for datalist/barlist specifications.
For that, I need to parse files content located on my different cell servers.
Before re-inventing the wheel, I'm searching if anybody would have already written a piece of a PERL script to parse those configuration files ?
(could not find anything so far...)
12-14-2009 04:50 AM
Obviously your question is meaningful to you. You haven't provided any details of the input or output you want. Given that you know much more than you have enumerated, I suggest you begin by looking at the numerous modules that exist on CPAN. It is likely that one or more will form the basis for your solution:
12-14-2009 05:02 AM
I meant that I'm writting some PERL code to script some check and verification tasks on my datalists/barlists files.
I'm quite OK with PERL (I know how to write such a parser in PERL), but I wondered if anybody ever write a PERL module that would PARSE DP datalists/barlists content ?
A "good" parser should be based on the grammar of the file, which is not always easy to define... So, if anybody did it, that would save a lot of time...