[Catalyst] Setting the COMPILE_DIR for TT templates in the configuration file

Alexander Hartmaier alexander.hartmaier at t-systems.at
Tue Jan 24 12:09:10 GMT 2012


Yes it should and does.
Can you come on irc.perl.org to quicker fix your problem?

Am 2012-01-23 20:35, schrieb Robert Rothenberg:
> On 23/01/12 17:39 André Walker wrote:
>> On 01/22/2012 06:16 PM, Robert Rothenberg wrote:
>>> It doesn't quite look like what I expect. Excerpts:
>>>
>>> "Plugin::Session"                     =>   {
>>>                    storage =>   "/tmp/myapp/session",
>>>                    },
>>>
>>>    "View::TT"                        =>   {
>>>                    COMPILE_DIR =>   "/tmp/myapp/template_cache",
>>>                    },
>>>
>>> Those are the defaults that are set in the module. I want to override them
>>> in the conf file.
>> Hold on. Does it mean that you're setting COMPILE_DIR to
>> "/tmp/myapp/template_cache" on MyApp::View::TT and you're trying to override
>> it on the config file?
>> Can you show us View/TT.pm please? I'm pretty sure that changing the config
>> in the component module overrides the *.conf file, but couldn't find it in
>> the docs.
> According to what I read in the docs, setting it in the conf file should
> override the module.
>
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*



More information about the Catalyst mailing list