Re: [Maypole-dev] Re: [Maypole] multiple Maypole applications

From: Simon Cozens (simon at simon-cozens.org)
Date: Tue Aug 17 2004 - 13:13:05 BST


David R. Baird:
> - my $config = $calling_class->config;
> + my %inherited_config = %{ $calling_class->config };
> + my $config = \%inherited_config;
> + $calling_class->config($config);
> $config->{model} ||= "Maypole::Model::CDBI";

I think what I'm missing is that this is precisely what
Class::Data::Inheritable is meant to do. And I have no problems running about
five or six different Maypole apps on the same server anyway.

-- 
"Even if you're on the right track, you'll get run over if you just sit there."
-- Will Rogers

_______________________________________________ maypole-dev mailing list maypole-dev at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole-dev



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT