From: Tomas Doran Date: Tue, 22 Nov 2011 20:32:47 +0000 (+0000) Subject: Document match_captures X-Git-Tag: 5.90007~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=0d7bf3a9878968b7ac7ff5fa1d44837fd7e9e4f9 Document match_captures --- diff --git a/Changes b/Changes index df72bb3..ebf1078 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,12 @@ # This file documents the revision history for Perl extension Catalyst. + New features: + - Implement a match_captures hook which, if it exists on an action, + is called with the $ctx and \@captures and is expected to return + true to continue the chain matching and false to stop matching. + This can be used to implement action classes or roles which match + conditionally (for example only matching captures which are integers). + Bug fixes: - Lighttpd script name fix is only applied for lighttpd versions < 1.4.23. This should fix non-root installs of lighttpd in versions