[Catalyst] Stupid error with C::Authentication

Toby Corkindale toby at dryft.net
Wed Sep 18 00:04:13 GMT 2013

On 27 August 2013 02:07, Alex Povolotsky <tarkhil at over.ru> wrote:
> In a quite simple application
> I get
> [error] Caught exception in Admin::Controller::Root->index "Can't use string
> ("Catalyst::Authentication::Store:"...) as a HASH ref while "strict refs" in
> use at accessor Catalyst::Authentication::Store::DBIx::Class::User::_user
> (defined at
> /usr/local/lib/perl5/site_perl/5.14/Catalyst/Authentication/Store/DBIx/Class/User.pm
> line 12) line 5, <DATA> line 1003."
> My password class has nothing to get wrong, and replacing it with default
> C::A::Credential::Password does not change anything

Hi Alex,
I've seen this particular error come up (with exactly that message)
when the user running the application was not able to connect to the
database successfully.

I don't know why that would vary depending on you using perl -d or
just perl though, but I thought I'd mention it.


More information about the Catalyst mailing list