[Templates] LOAD_PERL parameter
Sean McAfee
eefacm at gmail.com
Mon Jun 23 20:23:45 BST 2008
On Mon, Jun 23, 2008 at 12:10 PM, Keddie, Diane <dkeddie at buffalo.edu> wrote:
> When creating a template object, the default for the LOAD_PERL
> configuration parameter is 0. According to the template toolkit manual,
> this option can be set to 1 to allow you to load regular Perl modules as
> plugins. Is there any disadvantage to changing the LOAD_PERL configuration
> parameter to 1? Would it affect performance? Any reason why the default is
> 0?
>
> I may be wrong, but my impression was that the default setting is
conservative simply to avoid surprising the programmer with unexpected
behavior. I can't imagine it would have any effect on performance at all if
you never load a Perl module as a plugin.
--Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.template-toolkit.org/pipermail/templates/attachments/20080623/80b2924f/attachment.htm
More information about the templates
mailing list