X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;h=2331ae6477f299ae9fc7b9cb94ef07c77b0dd387;hb=264bac8c94a84d7dbac9912946d1a639fa37d1cd;hp=cb3e86d14d2c9d852ce4987070df2ed1c751265b;hpb=81e75875ca7cea9004783a0c142040081da630d8;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index cb3e86d..2331ae6 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -293,9 +293,13 @@ sub forward { my $c = shift; $c->dispatcher->forward( $c, @_ ) } =head2 $c->detach( $class, $method, [, \@arguments ] ) +=head2 $c->detach() + The same as C, but doesn't return to the previous action when processing is finished. +When called with no arguments it escapes the processing chain entirely. + =cut sub detach { my $c = shift; $c->dispatcher->detach( $c, @_ ) }