Re: [Templates] basic VARIABLES question

[prev] [thread] [next] [Date index for 2005/01/03]

From: Perrin Harkins
Subject: Re: [Templates] basic VARIABLES question
Date: 22:51 on 03 Jan 2005
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
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] basic VARIABLES question
Sean T Allen 19:03 on 03 Jan 2005

Re: [Templates] basic VARIABLES question
Perrin Harkins 21:22 on 03 Jan 2005

Re: [Templates] basic VARIABLES question
Sean T Allen 22:42 on 03 Jan 2005

Re: [Templates] basic VARIABLES question
Perrin Harkins 22:51 on 03 Jan 2005

Re: [Templates] basic VARIABLES question
Sean T Allen 23:05 on 03 Jan 2005

Re: [Templates] basic VARIABLES question
Perrin Harkins 23:25 on 03 Jan 2005

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52