[Catalyst] Plugin::Authentication vs Authentiaction
Alex Povolotsky
tarkhil at over.ru
Mon Nov 10 13:46:11 GMT 2008
Joel Bernstein wrote:
> 2008/11/10 Alex Povolotsky <tarkhil at over.ru>:
>
>> Hello!
>>
>> Trying to use Catalyst::Authentication::Credential::Authen::Simple
>> (::RADIUS, but it does not matter), I've found that I've got two
>> Authentication directories, one is under Plugin. What's worse, Catalyst does
>> not load Catalyst::Authentication::Credential::Authen::Simple automatically,
>> and fails when I put it into
>>
>> use Catalyst qw/ .... /
>>
>> because it searches only Catalust/Plugin
>>
>> What am I doing wrong? I don't want just put a bunch of symlinks.
>>
>
> The fine manual states:
> If your plugin starts with a name other than Catalyst::Plugin::, you
> can fully qualify the name by using a unary plus.
>
> So you'd do:
>
> use Catalyst qw/
> Foo # loads C::Plugin::Foo
> +Catalyst::Authentication::Credential::Authen::Simple # loads the
> module you wanted
> /;
>
That's not enough. Apparently, Plugin::Authentication is different from
Authentication, and slightly not compartible.
Alex.
More information about the Catalyst
mailing list