Perl Template :: Toolkit allows embedding Perl if the EVAL_PERL flag is set. Inside the template, the PERL and RAWPERL blocks allow us to briefly (in the case of RAWPERL) extend the internal elements, and the embedded code is evaluated using eval() (quoted eval). This provides full access to the Perl interpreter.
Perl itself is considered a Turing Complete grammar . Therefore, given that Template :: Toolkit does provide access to Perl itself, the template system inherits this characteristic.
Although setting EVAL_PERL to enable embedded Perl inside a template is considered an advanced (and supposedly rarely used) feature, it is available for the strong (and doubtful-reasonable).
source share