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

sartak at bestpractical.com sartak at bestpractical.com
Tue Nov 4 17:37:25 EST 2008


Author: sartak
Date: Tue Nov  4 17:37:23 2008
New Revision: 16677

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

Log:
 r74966 at onn:  sartak | 2008-11-03 23:04:31 -0500
 Doc, ignore Makefile.old


Modified: Path-Dispatcher/trunk/Changes
==============================================================================
--- Path-Dispatcher/trunk/Changes	(original)
+++ Path-Dispatcher/trunk/Changes	Tue Nov  4 17:37:23 2008
@@ -1,14 +1,22 @@
 Revision history for Path-Dispatcher
 
 0.05
-        The Dispatch's run method will now collect return values and return
-            them
+        Improve test coverage
 
         Match:
             ends_dispatch is now an attribute
 
+        Rule::Tokens:
+            Support for case insensitive matching
+            Fix for tokens' type constraint
+
         Dispatcher:
-            Allow rules to be specified in the constructor
+            Allow rules to be specified in the constructor (a typo prevented it)
+
+        Dispatch:
+            first_match, has_match methods which do what you'd expect
+            The run method will now collect return values and return them
+
 
 0.04 Tue Oct 28 17:56:41 2008
         Dist fixes

Modified: Path-Dispatcher/trunk/lib/Path/Dispatcher/Dispatch.pm
==============================================================================
--- Path-Dispatcher/trunk/lib/Path/Dispatcher/Dispatch.pm	(original)
+++ Path-Dispatcher/trunk/lib/Path/Dispatcher/Dispatch.pm	Tue Nov  4 17:37:23 2008
@@ -97,5 +97,9 @@
 
 Executes matches until a match's C<ends_dispatch> returns true.
 
+Each match's L<Path::Dispatcher::Match/run> method is evaluated in scalar
+context. The return value of this method is a list of these scalars (or the
+first if called in scalar context).
+
 =cut
 



More information about the Bps-public-commit mailing list