On Mon, 2005-01-03 at 17:42 -0500, Sean T Allen wrote:
> if I need to only instantiate 1 instance of Template ( so long as
> options passed to the constructor don't change ).
> then it would make sense for me to create the instance as a singleton.
> 
> using say Apache::Singleton::Process
> 
> yes?

Yes.  And keep in mind that you can change the INCLUDE_PATH without
creating a new TT object.

- Perrin


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to