[Bps-public-commit] r15443 - in Path-Dispatcher/trunk: lib/Path

sartak at bestpractical.com sartak at bestpractical.com
Mon Aug 25 16:14:28 EDT 2008


Author: sartak
Date: Mon Aug 25 16:14:24 2008
New Revision: 15443

Modified:
   Path-Dispatcher/trunk/   (props changed)
   Path-Dispatcher/trunk/lib/Path/Dispatcher.pm

Log:
 r70299 at onn:  sartak | 2008-08-25 15:43:53 -0400
 Remove begin_stage/end_stage, they'll be better off as method modifiers in a commit or two


Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher.pm	Mon Aug 25 16:14:24 2008
@@ -71,11 +71,6 @@
 
     STAGE:
     for my $stage ($self->stages) {
-        $self->begin_stage(
-            stage    => $stage,
-            dispatch => $dispatch,
-        );
-
         RULE:
         for my $rule ($stage->rules) {
             my $result = $rule->match($path)
@@ -94,12 +89,6 @@
             if $stage->allows_redispatch($dispatch)
             && $self->can_redispatch;
     }
-    continue {
-        $self->end_stage(
-            stage    => $stage,
-            dispatch => $dispatch,
-        );
-    }
 
     return $dispatch;
 }
@@ -123,9 +112,6 @@
     return;
 }
 
-sub begin_stage {}
-sub end_stage   {}
-
 # We don't export anything, so if they request something, then try to error
 # helpfully
 sub import {



More information about the Bps-public-commit mailing list