On 04/12/2007, Kalman Kiss <[EMAIL PROTECTED]> wrote:

> The problem is gone when i switch to Catalyst::Controller base in Login.pm.

Okay, that's interesting.

> As the above debug logs say the objects are the same type and address,
> and the original is from the tutorial (part 4).
> (Its working with FormBuilder btw.)

Your debug statements are showing the output (addresses) of
controller->path_prefix() - but you're comparing only controller().
- although I didn't realise controller() within Login.pm returned the
exact same object as controller('Login') did.
I've not really used controller() very much, so can't really advise.

Were you still only comparing ($c->controller eq
$c->controller('Login'))  and not path_prefix() when you switched back
to Catalyst::Controller, and it worked?

Carl

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to