Skip to content
jjn1056 edited this page Sep 14, 2010 · 3 revisions

Welcome to the Patterns-ChainOfResponsibility wiki!

Here’s a short TODO before I forget

1) Create a dispatcher similar to ::Broadcast but ‘collects’ all the responses in order. Call it “Collector” or something. Probably getting a bit beyond the basic domain of CoR but feels reasonable
2) Maybe a dispatcher that would leverage MooseX-Method-Signatures to handle based on matching the method sig on the handler method, if any. Might be intruding on MooseX::MultiMethods a bit…

  1. chains(next) filters(pipe) broadcasts collectors
my $result = Loader::Default →chains($loader_file,$loader_db) →new(%opts) →process(@args); my $result = Patterns::CoR::Manager →pipes($loader_default) →pipes($loader_file, $loader_db) →new(%opts) →process(@args);
Clone this wiki locally