Catalyst-Plugin-EnableMiddleware
view release on metacpan or search on metacpan
---
abstract: 'Enable Plack Middleware via Configuration'
author:
- 'John Napiorkowski <jjnapiork@cpan.org>'
build_requires:
Catalyst: 0
Catalyst::Test: 0
FindBin: 0
HTTP::Request::Common: 0
Plack::App::File: 0
Plack::Middleware::Static: 0
Test::Most: 0.25
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300014, CPAN::Meta::Converter version 2.120921'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
Makefile.PL view on Meta::CPAN
my %WriteMakefileArgs = (
"ABSTRACT" => "Enable Plack Middleware via Configuration",
"AUTHOR" => "John Napiorkowski <jjnapiork\@cpan.org>",
"BUILD_REQUIRES" => {
"Catalyst" => 0,
"Catalyst::Test" => 0,
"FindBin" => 0,
"HTTP::Request::Common" => 0,
"Plack::App::File" => 0,
"Plack::Middleware::Static" => 0,
"Test::Most" => "0.25"
},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
"DISTNAME" => "Catalyst-Plugin-EnableMiddleware",
"EXE_FILES" => [],
"LICENSE" => "perl",
Moose::Role = 0
namespace::autoclean = 0
Plack::Util = 0
Scalar::Util = 0
Catalyst::Utils = 0
Text::SimpleTable = 0
[Prereqs / TestRequires]
Test::Most = 0.25
FindBin = 0
HTTP::Request::Common = 0
Catalyst::Test = 0
Catalyst = 0
Plack::App::File = 0
Plack::Middleware::Static = 0
#!/usr/bin/env perl
use FindBin;
use Test::Most;
use HTTP::Request::Common;
use lib "$FindBin::Bin/lib";
use Catalyst::Test 'TestApp';
ok my($res, $c) = ctx_request('/');
{
ok my $response = request GET $c->uri_for_action('/welcome'),
'got welcome from a catalyst controller';
( run in 0.683 second using v1.01-cache-2.11-cpan-de7293f3b23 )