Fastest Perl Template Library

What is the fastest perl template library that allows me to do the following:

  • variable substitution,
  • loops (hash and arrays),
  • layout (wrapper templates)
  • and at least some conditional logic (<>! = ==%).

.. also has anyone used pltenjin? in tests it is pretty fast.

+3
source share
2 answers

I recommend the Xslate template engine ( http://xslate.org/ ), and it is about 50-100 times faster than others. See Benchmarks: http://xslate.org/benchmark.html

Template Toolkit ( ) ('[%', '%]'), , INCLUDE, FOREACH, WHILE,...

+10

, plTenjin. , HTML:: Mason .

, ? , .

, .

(, , plTenjin, HTML:: Mason ..)

+3

Source: https://habr.com/ru/post/1796526/


All Articles