[Catalyst] creating action classes for chained actions,
trouble with overriding ->match
Matt S Trout
dbix-class at trout.me.uk
Tue May 8 20:12:04 GMT 2007
On Tue, Mar 20, 2007 at 01:15:48PM -0700, John Napiorkowski wrote:
> I may have answered my own question. A peer pointed me to:
>
> http://search.cpan.org/src/MRAMBERG/Catalyst-Runtime-5.7007/lib/Catalyst/DispatchType/Chained.pm
>
> and down in a method called 'recurse_match' it does indeed seem like match is only called against the endpoint in a chain. So I guess I'd like to find out if anyone knows the reasoning behind this. I think ideally if an action class can over ride match, this should be allowed for all types of actions. Or I am just not smart enough to know why not :)
Because nobody's implemented match_captures yet which Chained and Regex could
then both call. Should be pretty easy if you fancy a go.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director Want a managed development or deployment platform?
Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/
More information about the Catalyst
mailing list