Configure Perl apps with templated substitutions