Dancer2-Plugin-Syntax-ParamKeywords
view release on metacpan or search on metacpan
"recommends" : {
"CPAN::Meta" : "2.120900"
},
"requires" : {
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"HTTP::Request::Common" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Plack::Test" : "0",
"Ref::Util" : "0",
"Test::More" : "0"
}
}
},
"provides" : {
"Dancer2::Plugin::Syntax::ParamKeywords" : {
"file" : "lib/Dancer2/Plugin/Syntax/ParamKeywords.pm",
"version" : "v0.2.0"
}
},
abstract: 'Parameter keywords for the lazy'
author:
- 'Jason A. Crome <cromedome@cpan.org>'
build_requires:
ExtUtils::MakeMaker: '0'
File::Spec: '0'
HTTP::Request::Common: '0'
IO::Handle: '0'
IPC::Open3: '0'
Plack::Test: '0'
Ref::Util: '0'
Test::More: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Dancer2-Plugin-Syntax-ParamKeywords
Makefile.PL view on Meta::CPAN
"PREREQ_PM" => {
"Dancer2" => 0
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"HTTP::Request::Common" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Plack::Test" => 0,
"Ref::Util" => 0,
"Test::More" => 0
},
"VERSION" => "0.2.0",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Dancer2" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"HTTP::Request::Common" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Plack::Test" => 0,
"Ref::Util" => 0,
"Test::More" => 0
);
# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.039
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
requires 'Dancer2';
test_requires 'Test::More';
test_requires 'Plack::Test';
test_requires 'Ref::Util';
test_requires 'HTTP::Request::Common';
t/00-report-prereqs.dd view on Meta::CPAN
'recommends' => {
'CPAN::Meta' => '2.120900'
},
'requires' => {
'ExtUtils::MakeMaker' => '0',
'File::Spec' => '0',
'HTTP::Request::Common' => '0',
'IO::Handle' => '0',
'IPC::Open3' => '0',
'Plack::Test' => '0',
'Ref::Util' => '0',
'Test::More' => '0'
}
}
};
$x;
}
t/param_keywords.t view on Meta::CPAN
use strict;
use warnings;
use Test::More import => ['!pass'];
use Plack::Test;
use HTTP::Request::Common;
use Ref::Util qw<is_coderef>;
{
package App1;
use Dancer2;
use Dancer2::Plugin::Syntax::ParamKeywords;
get '/a/:foo/:bar' => sub { return "foo = " . route_param('foo') . ", bar = " . route_param( 'bar' ) };
get '/b' => sub { return 'bar = ' . query_param( 'bar' ) };
( run in 0.252 second using v1.01-cache-2.11-cpan-4d50c553e7e )