X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=9341e397f7af72188afe0675f417adaae8a74e44;hp=6c32146480bd53b6217ab840c59c160c0c48785c;hb=8431b9cc52d19b34b25d2b854d0a6a86eb94ee04;hpb=87b12a6e6eeadabd32a4bc7417f7c6e7012cd8b2 diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 6c32146..9341e39 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -356,8 +356,12 @@ When called with no arguments it escapes the processing chain entirely. sub detach { my $c = shift; $c->dispatcher->detach( $c, @_ ) } +=head2 $c->visit( $action [, \@arguments ] ) + =head2 $c->visit( $action [, \@captures, \@arguments ] ) +=head2 $c->visit( $class, $method, [, \@arguments ] ) + =head2 $c->visit( $class, $method, [, \@captures, \@arguments ] ) Almost the same as L<< forward|/"$c->forward( $action [, \@arguments ] )" >>, @@ -386,8 +390,12 @@ transfer control to another action as if it had been reached directly from a URL sub visit { my $c = shift; $c->dispatcher->visit( $c, @_ ) } +=head2 $c->go( $action [, \@arguments ] ) + =head2 $c->go( $action [, \@captures, \@arguments ] ) +=head2 $c->go( $class, $method, [, \@arguments ] ) + =head2 $c->go( $class, $method, [, \@captures, \@arguments ] ) The relationship between C and