CPAN::Mini::Inject::Server::Dispatch - Dispatch table for CPAN::Mini::Inject::Server


CPAN-Mini-Inject-Server documentation Contained in the CPAN-Mini-Inject-Server distribution.

Index


Code Index:

NAME

Top

CPAN::Mini::Inject::Server::Dispatch - Dispatch table for CPAN::Mini::Inject::Server

VERSION

Top

Version 0.03

SYNOPSIS

Top

USING TEST SERVER

use CGI::Application::Dispatch::Server; my $server = CGI::Application::Dispatch::Server->new( class => 'CPAN::Mini::Inject::Server::Dispatch', port => '9000' );

$server->run;

OR UNDER APACHE MOD PERL

<location /app> SetHandler perl-script PerlHandler CPAN::Mini::Inject::Server::Dispatch </location>

OR UNDER CGI

#!/usr/bin/perl use FindBin '$Bin'; use lib "$Bin/../../rel/path/to/my/perllib"; use CPAN::Mini::Inject::Server::Dispatch CPAN::Mini::Inject::Server::Dispatch->dispatch();

DESCRIPTION

Top

FUNCTIONS

Top

dispatch_args

Dispatch urls for CPAN::Mini::Inject::Server

AUTHOR

Top

Christopher Mckay, <potatohead at potatolan.com>

BUGS

Top

Please report any bugs or feature requests to bug-cpan-mini-inject-server at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CPAN-Mini-Inject-Server. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc CPAN::Mini::Inject::Server::Dispatch




You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=CPAN-Mini-Inject-Server

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/CPAN-Mini-Inject-Server

* CPAN Ratings

http://cpanratings.perl.org/d/CPAN-Mini-Inject-Server

* Search CPAN

http://search.cpan.org/dist/CPAN-Mini-Inject-Server/

perldoc CPAN::Mini::Inject::Server::Dispatch

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


CPAN-Mini-Inject-Server documentation Contained in the CPAN-Mini-Inject-Server distribution.
package CPAN::Mini::Inject::Server::Dispatch;

use strict;
use warnings;
use base 'CGI::Application::Dispatch';

our $VERSION = '0.03';


sub dispatch_args {
    return {
        prefix => 'CPAN::Mini::Inject',
        table => [
            'add[post]' => {app => 'Server', rm => 'add'},
            'update[post]' => {app => 'Server', rm => 'update'},
            'inject[post]' => {app => 'Server', rm => 'inject'},
        ],
    }
} # end of subroutine dispatch_args



1; # End of CPAN::Mini::Inject::Server::Dispatch