Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: XML "Database" --> HTMLby Hutta (Scribe) |
HTML NODE.owner = 117788 N.title = monktitlebar sitedoclet N.owner = 17342 --> |
on Aug 31, 2003 at 03:46 UTC ( [id://287978]=note: print w/replies, xml ) | Need Help?? |
If you're looking for a text-based alternative to XML, I'd recommend CSV. The Text::CSV module handles proper quoting so you don't have to worry about weird characters in your data messing up your flat file's structure. This also gives you one-record-per-line, which would allow "stream-based parsing" like you were looking for. However, take sri up on the suggestion to use DBD::SQLite and see if that works out first. Looks like a great fit for your application to me.
In Section
Seekers of Perl Wisdom
|
|