John Napiorkowski > Patterns-ChainOfResponsibility > Patterns::ChainOfResponsibility::Application

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::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.

syntax highlighting: