From: Kieren Diment Date: Thu, 29 Dec 2011 05:34:05 +0000 (+1100) Subject: doc patch correcting visit() and go() usage from Emanuele Zeppieri X-Git-Tag: 5.90008~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=8431b9cc52d19b34b25d2b854d0a6a86eb94ee04 doc patch correcting visit() and go() usage from Emanuele Zeppieri --- 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