On 7/19/07, Andrew Light <[EMAIL PROTECTED]> wrote:
The one thing I have to figure out now, is how to manage the global varialbe
thing. To be honest, I have never heard about the Apache::Registry hack, I
just pop in all of my regular CGI files in a mod_perl environment and don“t
really have any special codes for mod_perl execution.
But you did configure your httpd.conf to run the files under
ModPerl::Registry or ModPerl::PerlRun, right? If not, you haven't
been using mod_perl.
Are there any resources on this, that I should study?
There's a ton of documentation on http://perl.apache.org/.
I tried the thing with the lexically scoped "our" varialbe snippet
equivalent to your suggestion, but it seems like the template object is
still created on each hit
That does sound like you aren't using mod_perl. Can you print out
$ENV{'MOD_PERL'} and check?
- Perrin
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates