[Catalyst] New Catalyst + TT problem

Bill Moseley moseley at hank.org
Wed Dec 14 18:39:24 CET 2005


On Wed, Dec 14, 2005 at 09:32:35AM -0800, Bill Moseley wrote:
> On Wed, Dec 14, 2005 at 06:18:09PM +0100, Zbigniew Lukasiak wrote:
> > OK - now I understand what happened. As far as I understand it you can
> > provide config arguments from the main application module or from the
> > component (view) module.  The $arguments are from the component
> > configuration.  That's how I understand it.
> 
> The per-component config is $self->config.

I think I see.  Cat::Component does:

  return $self->NEXT::new( { %{ $self->config }, %{$arguments} } );

So they are merged into the config.

-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list