Template::Tiny is an implementation of a subset of Template::Toolkit (the major parts) which takes much less memory and is faster.
If you're only using the main functions of Template::Toolkit,
you could use Template::Tiny.
You can also seemlessly move back to Template::Toolkit whenever you want.

Renders the template. The first arg is a filename for the template file or a reference to a string that contains the template. The second arg is a hashref for the tokens that you wish to pass to Template::Toolkit for rendering.