Following up from a mail way-back-when:
>> -Original Message-
>> From: Kevin Old [mailto:kevinold at gmail.com]
>> Sent: Thursday, December 07, 2006 8:37 PM
>> To: The elegant MVC web framework
>> Subject: Re: [Catalyst] Mason configuration in YAML
>>
On 12/8/06, Kevin Old <[EMAIL PROTECTED]> wrote:
On 12/8/06, Jon Warbrick <[EMAIL PROTECTED]> wrote:
> On Thu, 7 Dec 2006, Kevin Old wrote:
>
> > ...
> > then in Mason.pm you can use it like this:
> > package MyApp::View::Mason;
> >
> > use base 'Catalyst::View::Mason';
> >
> > __ PACKAGE__->conf
On 12/8/06, Jon Warbrick <[EMAIL PROTECTED]> wrote:
On Thu, 7 Dec 2006, Kevin Old wrote:
> ...
> then in Mason.pm you can use it like this:
> package MyApp::View::Mason;
>
> use base 'Catalyst::View::Mason';
>
> __ PACKAGE__->config->{DEBUG} = 'all';
> __ PACKAGE__->config->{comp_root} = $c->con
On Thu, 7 Dec 2006, Kevin Old wrote:
...
then in Mason.pm you can use it like this:
package MyApp::View::Mason;
use base 'Catalyst::View::Mason';
__ PACKAGE__->config->{DEBUG} = 'all';
__ PACKAGE__->config->{comp_root} = $c->config->{comp_root};
__ PACKAGE__->config->{data_dir} = $c->config->{
> -Original Message-
> From: Kevin Old [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 07, 2006 8:37 PM
> To: The elegant MVC web framework
> Subject: Re: [Catalyst] Mason configuration in YAML
>
> Hi Mark,
>
> I'm pretty sure you need to do it l
Hi Mark,
I'm pretty sure you need to do it like this:
In your YAML file specify comp_root and data_dir:
comp_root: __path_to(mason/root)__
data_dir: __path_to(mason/data)__
then in Mason.pm you can use it like this:
package MyApp::View::Mason;
use base 'Catalyst::View::Mason';
__PACKAGE__->c