[Catalyst-commits] r9542 - Catalyst-Runtime/5.80/branches/add_captures_to_visit/lib

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Sat Mar 21 15:54:34 GMT 2009


Author: t0m
Date: 2009-03-21 15:54:33 +0000 (Sat, 21 Mar 2009)
New Revision: 9542

Modified:
   Catalyst-Runtime/5.80/branches/add_captures_to_visit/lib/Catalyst.pm
Log:
Doc changes for passing CaptureArgs

Modified: Catalyst-Runtime/5.80/branches/add_captures_to_visit/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/add_captures_to_visit/lib/Catalyst.pm	2009-03-21 15:17:38 UTC (rev 9541)
+++ Catalyst-Runtime/5.80/branches/add_captures_to_visit/lib/Catalyst.pm	2009-03-21 15:54:33 UTC (rev 9542)
@@ -361,9 +361,9 @@
 
 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<forward>, but does a full dispatch, instead of just
 calling the new C<$action> / C<$class-E<gt>$method>. This means that C<begin>,
@@ -387,9 +387,9 @@
 
 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<detach>, but does a full dispatch like C<visit>,
 instead of just calling the new C<$action> /




More information about the Catalyst-commits mailing list