Lars Balker Rasmussen wrote:

Yes.  Your problem is that auto() needs a return value to say whether
to go forward with an action or not, so just add "return 1;" at the
end of auto(), and all will be fine.

...because otherwise auto() implicitly returns the result of the failed conditional test "if(! $c->stash->{lang} )"! I see! Thanks! :-)

Alex


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to