| 1 | package Plack::Handler::Arriba; | ||
| 2 | |||
| 3 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | # ABSTRACT: Plack adapter for Arriba | ||
| 6 | |||
| 7 | 8 | ▶ | use Arriba::Server; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 7 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 10 | 7 | my $class = shift; | |
| 11 | 7 | bless { @_ }, $class; | |
| 12 | } | ||
| 13 | |||
| 14 | 7 | ▶ | sub run { |
|
Subroutine
run: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 15 | 7 | my ($self, $app) = @_; | |
| 16 | |||
| 17 | 7 | Arriba::Server->new->run($app, {%$self}); | |
| 18 | } | ||
| 19 | |||
| 20 | 8 | 1; | |
| 21 | |||
| 22 | __END__ | ||