<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>Am 14.05.2005 um 16:03 schrieb Edmund von der Burg:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hello,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I am trying to break out of the processing chain by returning 0 in the<SPAN class="Apple-converted-space">�</SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">'auto' action. However the chain is still processed. I have simplified<SPAN class="Apple-converted-space">�</SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">the auto to:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "># In Scrpbk::C::Scrap</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">sub auto : Private {</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">� � </SPAN>my ( $self, $c ) = @_;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">� � </SPAN>warn 'Return 0';</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">� � </SPAN>return 0;</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">}</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">When I request a page I get in the logs:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Return 0 at /usr/local/sandbox/Scrpbk/script/../lib/Scrpbk/C/Scrap.pm line 10.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">.=-----------------------------------------------------------------+----------=.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">| Action <SPAN class="Apple-converted-space">� � � � � � � � � � � � � � � � � � � � � � � � � � � � � </SPAN>| Time<SPAN class="Apple-converted-space">� � � </SPAN>|</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">|=-----------------------------------------------------------------+----------=|</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">| /begin <SPAN class="Apple-converted-space">� � � � � � � � � � � � � � � � � � � � � � � � � � � � � </SPAN>| 0.000039s |</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">| /scrap/auto<SPAN class="Apple-converted-space">� � � � � � � � � � � � � � � � � � � � � � � � � � � </SPAN>| 0.000280s |</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">| /scrap/edit<SPAN class="Apple-converted-space">� � � � � � � � � � � � � � � � � � � � � � � � � � � </SPAN>| 0.063021s |</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">| -> Scrpbk::V::TT->process<SPAN class="Apple-converted-space">� � � � � � � � � � � � � � � � � � � � </SPAN>| 0.202744s |</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">| /end <SPAN class="Apple-converted-space">� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � </SPAN>| 0.203326s |</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">'=-----------------------------------------------------------------+----------='</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This conficts with the documented behaviour in 'Catalyst::Manual::Intro':</DIV></BLOCKQUOTE><BR></DIV><DIV>It's a bug and fixed in trunk already.</DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">--</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">sebastian</FONT></P> </DIV><BR></BODY></HTML>