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

sartak at bestpractical.com sartak at bestpractical.com
Tue Nov 18 19:21:16 EST 2008


Author: sartak
Date: Tue Nov 18 19:21:16 2008
New Revision: 16910

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

Log:
 r75771 at onn:  sartak | 2008-11-18 19:21:06 -0500
 In rule codeblocks, have $_ be the path string not the path object


Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Match.pm	Tue Nov 18 19:21:16 2008
@@ -45,7 +45,7 @@
     my $self = shift;
     my @args = @_;
 
-    local $_ = $self->path;
+    local $_ = $self->path->path;
 
     if ($self->set_number_vars) {
         return $self->run_with_number_vars(



More information about the Bps-public-commit mailing list