[Bps-public-commit] Path-Dispatcher branch, master, updated. 2fb4b4c70c99c36f521968672733906b17770e79

Shawn Moore sartak at bestpractical.com
Sun Oct 24 02:13:49 EDT 2010


The branch, master has been updated
       via  2fb4b4c70c99c36f521968672733906b17770e79 (commit)
       via  fa0957e6145c8052e7b4c93c22ca5a2a65f889fa (commit)
      from  cc61714fe81810f51fe346984fe3ab153ad51824 (commit)

Summary of changes:
 Changes                      |    6 ++++++
 lib/Path/Dispatcher/Match.pm |   10 ++++++++++
 2 files changed, 16 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit fa0957e6145c8052e7b4c93c22ca5a2a65f889fa
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Sun Oct 24 15:10:12 2010 +0900

    A bit more documentation

diff --git a/lib/Path/Dispatcher/Match.pm b/lib/Path/Dispatcher/Match.pm
index 4794313..1352de3 100644
--- a/lib/Path/Dispatcher/Match.pm
+++ b/lib/Path/Dispatcher/Match.pm
@@ -121,6 +121,16 @@ path.
 Any positional captures generated by the rule. For example,
 L<Path::Dispatcher::Rule::Regex> populates this with the capture variables.
 
+=head2 named_captures
+
+Any named captures generated by the rule. For example,
+L<Path::Dispatcher::Rule::Regex> populates this with named captures.
+
+=head2 parent
+
+The parent match object, if applicable (which may be set if this match is the
+child of, for exampl, a L<Path::Dispatcher::Rule::Under> prefix)
+
 =head1 METHODS
 
 =head2 run

commit 2fb4b4c70c99c36f521968672733906b17770e79
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Sun Oct 24 15:13:53 2010 +0900

    Changes

diff --git a/Changes b/Changes
index 8a21410..d0fe318 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,11 @@
 Revision history for Path-Dispatcher
 
+1.01 Sun Oct 24 2010
+        Skip t/026-named-captures.t if you don't have 5.10
+
+        Give matches a ->parent for inspecting an Under prefix rule's
+            captures etc
+
 1.00 Sun Oct 17 2010
         Bump to 1.0 to indicate back compat breakage
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list