title: How to find the line with the error in Template Toolkit files?
body: <p><code>print $@</code> for template toolkit does not show the line where the exception occurred. How to find the exact place of the error?</p>
  
  <pre><code>$ perl -Mstrict -Mwarnings -MTemplate -e 'my $template = Template-&gt;new({ABSOLUTE=&gt;0}); $template-&gt;process("test.tt") || print $@, "\n"'
  file error - /etc/hosts: absolute paths are not allowed (set ABSOLUTE option)
  </code></pre>
  
  <p>I do not see which line of the <code>.tt</code> file caused the error. This makes debugging difficult.</p>
  
  <p>Why does TT not show the location of the error? Is it an inherent problem of a feature which is hard to implement? If not, why is it yet not implemented? Should I propose bug report to implement this feature?</p>