If you aren't going to go with a pre-defined format, make sure your format has strict guidelines and your programs adhere to them.
I suggest using a combination of tabs and newlines (CR or LF) to delimit certain areas.
I've used ## and \t\t\n as delimiters before. When it comes down to the wire, whatever works well (and reliably) is your best option.
You can use any kind of delimiter, just as long as the delimiter is stripped/replaced before you add it to your file, or else you'll break the format and your program.
In defense of module-driven apps, XML::* mods are worth using. But if you can't, you can't. Good luck.
John J Reiser
newrisedesigns.com
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.