title: Calling outside subs and modules in Template Toolkit without Plugins?
body: <p>I am trying to call an outside Perl module in a Template Toolkit .tt file. The module I want to use is <code>Util</code>, and I want to call <code>Util::prettify_date</code>. I was able to include this module using Template Toolkit's plugin interface: I set up the load, new, and error function (as described here: <a href="http://template-toolkit.org/docs/modules/Template/Plugin.html" rel="noreferrer">http://template-toolkit.org/docs/modules/Template/Plugin.html</a>), and include it using <code>[% USE Util %]</code>.</p>
  
  <p>This works fine, but I was wondering if there's a way to <code>USE</code> Perl modules in Template Toolkit without having to plugin-ify them. The main issue with making plugins is that I have to make all the functions in <code>Util</code> object-oriented (ie. accepts $self as first argument), which doesn't really make sense.</p>