The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.