[Catalyst] Re: Announcement - New Authen/Authz plugins
Sebastian Riedel
sri at oook.de
Wed Nov 9 11:57:21 CET 2005
Am 09.11.2005 um 11:26 schrieb Uwe Voelker:
>> You don't have to do it at compile time like in the above example.
>>
>> use Catalyst;
>>
>> my @auth = qw/Authentication
>> Authentication::Credential::Password
>> Authentication::Store::Htpasswd/;
>> my @session = qw/Session Session::State:Cookie
>> Session::Store::Memcached/;
>>
>> __PACKAGE__->setup( @session, @auth );
>
> I know, I set Debug this way (depending on ENV).
>
> But what is bad in the "config" approach? Why do we need dozens of
> plugins in use/setup?
You won't be able to change the inheritance chain, lets say you want
another layer between Session and Session::Store::Memcached to encode
stored data to unicode... :)
--
sebastian
More information about the Catalyst
mailing list