|laziness, impatience, and hubris|
Re: I would like to find a good logic to parse the databy perleager (Pilgrim)
|on May 25, 2007 at 04:15 UTC||Need Help??|
If you can't work around to getting a module to do this, perhaps you can just use this logic:
Read the Input file line by line, and if its the first line parse it in a different way. If not, then parse it normally by splitting the commas.
So if it detects its the first line, which is the "Submitted" values, then figure out some parsing method to read and print the values accordingly.
Perhaps use this logic:
Then you'll be left with:
Then you can parse the above by by splitting `","`: