> "Dermot" == Dermot writes:
Dermot> I have a parent class and I want it to contain some configuration
Dermot> information. I'm using AppConfig and that returns configuration as
Dermot> instance. But when I try and access data from the configuration, such
Dermot> as `print $self->config->med
2009/12/22 Shlomi Fish :
> On Tuesday 22 Dec 2009 15:10:06 Dermot wrote:
>> 2009/12/22 Shlomi Fish :
>> > Hi Dermot!
>>
>> Hi Shlomi,
>>
>
> Hi.
>
>> >> package Media;
>> >>
>> >> use metaclass (
>> >> metaclass => 'Moose::Meta::Class',
>> >> error_class => 'Moose::Error::Croak',
>> >> );
Excerpts from Shlomi Fish's message of Tue Dec 22 09:48:15 -0500 2009:
> > has 'config'=> (
> > is => 'ro',
> > lazy_build => 1,
> > );
>
> I don't see where you've associated << _build_config >> with the 'config'
> attribute. Or is this some kind of undocumented def
On Tuesday 22 Dec 2009 15:10:06 Dermot wrote:
> 2009/12/22 Shlomi Fish :
> > Hi Dermot!
>
> Hi Shlomi,
>
Hi.
> >> package Media;
> >>
> >> use metaclass (
> >> metaclass => 'Moose::Meta::Class',
> >> error_class => 'Moose::Error::Croak',
> >> );
> >> use Moose;
> >> use AppConfig;
> >
2009/12/22 Shlomi Fish :
> Hi Dermot!
Hi Shlomi,
>> package Media;
>>
>> use metaclass (
>> metaclass => 'Moose::Meta::Class',
>> error_class => 'Moose::Error::Croak',
>> );
>> use Moose;
>> use AppConfig;
>> use FindBin qw($Bin);
>> use lib "$Bin/../";
>>
>>
>> has 'config' => (
>>
Hi Dermot!
On Tuesday 22 Dec 2009 14:28:30 Dermot wrote:
> aHi,
>
> I just starting out with Moose so forgive me if I'm slow on the up-take.
>
> I have a parent class and I want it to contain some configuration
> information. I'm using AppConfig and that returns configuration as
> instance. But
aHi,
I just starting out with Moose so forgive me if I'm slow on the up-take.
I have a parent class and I want it to contain some configuration
information. I'm using AppConfig and that returns configuration as
instance. But when I try and access data from the configuration, such
as `print $self-