title: Perl templates with inheritance
body: <p>Exists in the Perl world any template system with <em>template inheritance</em>?</p>
  
  <p>Just checked in the wikipedia <a href="http://en.wikipedia.org/wiki/Comparison_of_web_template_engines">Comparison_of_web_template_engines</a> (really incomplete list) - and here isn't listed any.</p>
  
  <blockquote>
    <p>Inheritance = Supports the ability to inherit a layout from a parent
    template, separately overriding arbitrary sections of the parent
    template's content.</p>
  </blockquote>
  
  <p>Mean something like python's Jinja2:</p>
  
  <pre><code>#body.html
  &lt;body&gt;
     {% block content %}
     &lt;!-- the content go here --&gt;
     {% endblock %}
  &lt;/body&gt;
  
  #hi.html
  {% extends "body.html" %}
  {% block content %}
  &lt;h1&gt;Hi!&lt;/h1&gt;
  {% endblock %}
  </code></pre>
  
  <p>rendering <code>hi.html</code> gives</p>
  
  <pre><code> &lt;body&gt;
   &lt;h1&gt;Hi!&lt;/h1&gt;
   &lt;/body&gt;
  </code></pre>
  
  <p>Don't looking for <em>exact Jinja2 syntax</em>, simply looking for any template engine from the perl world what supports <em>inheritance</em>. (not only plain <em>includes</em> - like Template::Toolkit)</p>
  
  <p>Asking here because searching CPAN is a pain for words like "template inheritance" - shows thousands modules what not related to this question.</p>
  
  <p><em>Ps: ... and it shouldn't be something like embedded perl - should be "user editable" allowing users builds own templates without compromise a whole system - therefore can't use Mason or HTML::Mason)</em></p>