<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I'm trying to use Chained('.') to create a controller base class that binds to the namespace of whatever controller class inherits it, but despite the documentation specifically mentioning this use, I can't seem to get it to work.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I minimized the problem down to this simplest of examples...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>% catalyst.pl Test</DIV><DIV>% cd Test</DIV><DIV>% cat &lt;&lt;END &gt; lib/Test/Controller/Foo.pm</DIV><DIV>package Test::Controller::Foo;</DIV><DIV>use strict;</DIV><DIV>use warnings;</DIV><DIV>use base 'Catalyst::Controller';</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV># This doesn't work</DIV><DIV>sub base : Chained('.') PathPart('') CaptureArgs(0) { }</DIV><DIV>sub arghhh : Chained('base') PathPart('') Args(0) { }</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV># This doesn't work either</DIV><DIV>sub foo : Chained('.') PathPart('foo') Args(1) { }</DIV><DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>1;</DIV><DIV>END</DIV><DIV>% script/test_server.pl</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>When it starts up, I get this...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[debug] Loaded Private actions:</DIV><DIV>.----------------------+--------------------------------------+--------------.</DIV><DIV>| Private              | Class                                | Method       |</DIV><DIV>+----------------------+--------------------------------------+--------------+</DIV><DIV>| /default             | Test::Controller::Root               | default      |</DIV><DIV>| /end                 | Test::Controller::Root               | end          |</DIV><DIV>| /foo/base            | Test::Controller::Foo                | base         |</DIV><DIV>| /foo/arghhh          | Test::Controller::Foo                | arghhh       |</DIV><DIV>| /foo/foo             | Test::Controller::Foo                | foo          |</DIV><DIV>'----------------------+--------------------------------------+--------------'</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[debug] Loaded Chained actions:</DIV><DIV>.-------------------------------------+--------------------------------------.</DIV><DIV>| Path Spec                           | Private                              |</DIV><DIV>+-------------------------------------+--------------------------------------+</DIV><DIV>'-------------------------------------+--------------------------------------'</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>And I don't seem to be able to get any chained actions working unless they are chained to a specific path...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-- </DIV><DIV>Jason Kohles</DIV><DIV><A href="mailto:email@jasonkohles.com">email@jasonkohles.com</A></DIV><DIV><A href="http://www.jasonkohles.com">http://www.jasonkohles.com</A>/</DIV><DIV>"A witty saying proves nothing."  -- Voltaire</DIV><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>