I disagree about rolling a custom framework; unless a company is in the business of making frameworks. There are many template frameworks in Perl at all levels of control and most have communities and available devs and test suites and documentation and free bug fixes. 15 years ago maybe, maybe, it would have been worth rolling a new solution for a specific problem. Today there is no developer who could produce a better engine economically—including tests and documentation and answering questions for the other devs/designers—than at least one of the options on the CPAN.
Rolling your own template engine is long considered a newbie rite of passage undertaken specifically because one doesn't know any better.