[Bps-public-commit] r16557 - in Path-Dispatcher/trunk: lib/Path/Dispatcher
sartak at bestpractical.com
sartak at bestpractical.com
Tue Oct 28 10:22:50 EDT 2008
Author: sartak
Date: Tue Oct 28 10:22:49 2008
New Revision: 16557
Modified:
Path-Dispatcher/trunk/ (props changed)
Path-Dispatcher/trunk/lib/Path/Dispatcher/Declarative.pm
Log:
r74656 at onn: sartak | 2008-10-28 10:22:46 -0400
Rename redispatch back to run, it's not worth having separate
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 28 10:22:49 2008
@@ -59,7 +59,7 @@
$OUTERMOST_DISPATCHER->dispatch(@_);
},
- redispatch => sub {
+ run => 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;
@@ -218,7 +218,7 @@
package; otherwise as a method (since these declarative dispatchers are
supposed to be used by other packages).
-=head2 redispatch path, args
+=head2 run 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