laziness, impatience, and hubris | |
PerlMonks |
Re: Reading and *writing* configuration filesby Fletch (Bishop) |
on Apr 09, 2002 at 02:08 UTC ( [id://157628]=note: print w/replies, xml ) | Need Help?? |
Another option would be to use something like Template Toolkit to process a skelleton file. If the user has any non-standard edits, they can place them in the skelleton file and they'll be preserved in the output. That of course requires some handwaving if the user expects something of theirs to override the generated output (perhaps use some sort of directive which sets a variable that the generated portion inspects).
In Section
Seekers of Perl Wisdom
|
|