in reply to Template system and substitution

Why o Why don't you use Text::Template or one of the 263 other template modules on CPAN? Do you think the World need another template system?
Seriously, you will start with a simple template mechanism, then you will add function support, then something else, then one more feature... and before you know it you have built a package with most of the features of the CPAN ones, just in a much more clunky way and without their robustness.

Please do yourself a favor and use a module!

Replies are listed 'Best First'.
Re: Re: Template system and substitution
by Dominus (Parson) on Nov 17, 2000 at 08:36 UTC
    I don't think Text::Template will do what this guy wants. With Text::Template you can make the delimiters anything you want, but you can't have more than one set of delimiters. So you could have [(...)] or [|...|], but not both.

    And actually, I only know of 29 template modules. Are you sure there are 263?