In order to do this right, you need a complicated series of regexes. Lots of people try to write their own HTML templates, but it's harder than it looks (as you have learned - welcome to the right place!). The brunt of your solution is here on the CPAN. The next step is parsing your flatfile DB and then you should be all set.
Cheers,In reply to Re: Variables in form text fields from flatfile
by erikharrison
in thread Variables in form text fields from flatfile
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |