[Bps-public-commit] r16452 - in Path-Dispatcher/trunk: lib/Path/Dispatcher
sartak at bestpractical.com
sartak at bestpractical.com
Tue Oct 21 15:45:37 EDT 2008
Author: sartak
Date: Tue Oct 21 15:45:33 2008
New Revision: 16452
Modified:
Path-Dispatcher/trunk/ (props changed)
Path-Dispatcher/trunk/lib/Path/Dispatcher/Declarative.pm
Log:
r74320 at onn: sartak | 2008-10-21 15:45:18 -0400
Rename "run" to "redispatch"
Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Declarative.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Declarative.pm (original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Declarative.pm Tue Oct 21 15:45:33 2008
@@ -59,7 +59,7 @@
$OUTERMOST_DISPATCHER->dispatch(@_);
},
- run => sub {
+ redispatch => sub {
# if caller is $into, then this function is being used as sugar
# otherwise, it's probably a method call, so discard the invocant
shift if caller ne $into;
@@ -208,7 +208,7 @@
package; otherwise as a method (since these declarative dispatchers are
supposed to be used by other packages).
-=head2 run path, args
+=head2 redispatch path, args
Performs a dispatch then invokes the L<Path::Dispatcher::Dispatch/run> method
on it.
More information about the Bps-public-commit
mailing list