From: Tomas Doran Date: Sat, 21 Mar 2009 15:54:33 +0000 (+0000) Subject: Doc changes for passing CaptureArgs X-Git-Tag: 5.80001~57^2~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=5d91ffe2ccdd9a28aac04a2ec7c1032e8f22bd44 Doc changes for passing CaptureArgs --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 53e9b21..8436e3b 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -361,9 +361,9 @@ 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 C, but does a full dispatch, instead of just calling the new C<$action> / C<$class-E$method>. This means that C, @@ -387,9 +387,9 @@ 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 ] ) Almost the same as C, but does a full dispatch like C, instead of just calling the new C<$action> /