[Catalyst] I'm loosing the plot here? - Controller behaviour that makes no sense

Lars Balker lars at balker.dk
Tue Oct 30 17:49:28 GMT 2012


On Tue, Oct 30, 2012 at 6:39 PM, Craig Chant
<craig at homeloanpartnership.com>wrote:

>  Please advise why the following URL
>
>
>
> =91mydomain:port/login=92
>
>
>
> Produces =93Matched Members::Controller::Login in Login.=94
>
> sub index :Path :Args(0) {
>
> sub loginPage :Path :Args(0) {
>

Because having two empty :Path is not well defined - the latter overwrites
the former (in this case?).

Try with :Path('login') or :Local on the second one (and see
Catalyst::Manual::Intro)
-- =

Lars Balker                                                  Consult::Perl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20121030/c36d8=
bac/attachment.htm


More information about the Catalyst mailing list