John Napiorkowski

NAME

Patterns::ChainOfResponsibility::Application - Chain of Responsiblity application

SYNOPSIS

    use Patterns::ChainOfResponsibility::Application;
    use MyApp::HanderOne;
    use MyApp::HanderTwo;

    my %opts = (
        handlers => [
            MyApp::HandlerOne->new(),
            MyApp::HandlerTwo->new(),
        ],
    );

    my $application = Patterns::ChainOfResponsibility::Application->new(%opts);
    $application->process(@args);

DESCRIPTION

A wrapper application that contains a bunch of instances of Patterns::ChainOfResponsibility::Role::Handler.

AUTHOR

John Napiorkowski <jnapiork@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.