[Catalyst] login() error ?

raptor raptor at tvskat.net
Fri Dec 30 19:56:48 CET 2005


I have :

use Catalyst qw/-Debug Prototype
     Authentication Authentication::Store::Minimal Authentication::Credential::Password
     Session Session::Store::FastMmap Session::State::Cookie /;

......

sub login : Local {
     my ($self, $c) = @_;
     $c->login('blah',1);
     $c->stash(template => 'login.tt2');
}

And get this error :

Caught exception "Can't locate object method "login" via package "blah" (perhaps you forgot to load "blah"?)

Why is that ?



More information about the Catalyst mailing list