John Napiorkowski > Patterns-ChainOfResponsibility-0.02 > Patterns::ChainOfResponsibility::Role::Dispatcher

Download:
Patterns-ChainOfResponsibility-0.02.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

NAME ^

Patterns::ChainOfResponsibility::Role::Dispatcher - The Dispatcher Role

DESCRIPTION ^

Basically a command style class that figure out the strategy for dispatching arguments to each handler in the chain

METHODS ^

This role defines the following methods

dispatch ( $return, $args)

Gets arrayrefs of the last return from a handler and the initial arguments sent to process and figure out what to do.

AUTHOR ^

John Napiorkowski <jjnapiork@cpan.org>

LICENSE & COPYRIGHT ^

Copyright 2011, John Napiorkowski <jjnapiork@cpan.org>

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: