X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=ccc996e35d18deb0451de3caf2e1821fc589f8ac;hp=a0f4e756da3596d92ee40eac73532190532b9f6a;hb=bfdaffa8cfd20d905dc451b05505d0ad8d476bea;hpb=d09eb4339b4d37a6bb51f837d0ea02f3c26f4486 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index a0f4e75..ccc996e 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -49,7 +49,6 @@ our $COUNT = 1; our $START = time; our $RECURSION = 1000; our $DETACH = "catalyst_detach\n"; -our $GO = "catalyst_go\n"; __PACKAGE__->mk_classdata($_) for qw/components arguments dispatcher engine log dispatcher_class @@ -328,20 +327,6 @@ When called with no arguments it escapes the processing chain entirely. sub detach { my $c = shift; $c->dispatcher->detach( $c, @_ ) } -=head2 $c->go( $action [, \@arguments ] ) - -=head2 $c->go( $class, $method, [, \@arguments ] ) - -Almost the same as C, but does a full dispatch, instead of just -calling the new C<$action> / C<$class-E$method>. This means that C, -C and the method you go to is called, just like a new request. - -C<$c-Estash> is kept unchanged. - -=cut - -sub go { my $c = shift; $c->dispatcher->go( $c, @_ ) } - =head2 $c->response =head2 $c->res @@ -1339,9 +1324,6 @@ sub execute { if ( !ref($error) and $error eq $DETACH ) { die $DETACH if($c->depth > 1); } - elsif ( !ref($error) and $error eq $GO ) { - die $GO if($c->depth > 0); - } else { unless ( ref $error ) { no warnings 'uninitialized';