"be consistent" | |
PerlMonks |
Re: Answer: How can one re-parse(?) a string to fill in variablesby Corion (Patriarch) |
on Oct 31, 2013 at 14:07 UTC ( [id://1060578]=note: print w/replies, xml ) | Need Help?? |
If you read the string $greeting from a file, how will interpolation work? Basically, this question leads to a templating system, of which there are lots in Perl, from Interpolation over Text::Template to Template Toolkit. Depending on your output needs, there are other modules, like Email::Template and HTML::Template::Compiled.
In Section
Seekers of Perl Wisdom
|
|