Config-Cmd
view release on metacpan or search on metacpan
use Module::Build 0.3601;
my %module_build_args = (
"build_requires" => {
"File::Find" => 0,
"File::Temp" => 0,
"Module::Build" => "0.3601",
"Test::More" => 0,
"Try::Tiny" => 0
},
"configure_requires" => {
"ExtUtils::MakeMaker" => "6.30",
"Module::Build" => "0.3601"
},
"dist_abstract" => "Command line to config file two way interface",
"dist_author" => [
"Heikki Lehvaslaiho <heikki.lehvaslaiho\@gmail.com>"
],
"dist_name" => "Config-Cmd",
"perl" : "5.006",
"strict" : "0",
"warnings" : "0"
}
},
"test" : {
"requires" : {
"File::Find" : "0",
"File::Temp" : "0",
"Test::More" : "0",
"Try::Tiny" : "0"
}
}
},
"release_status" : "stable",
"version" : "0.002",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.016001"
},
"plugins" : [
---
abstract: 'Command line to config file two way interface'
author:
- 'Heikki Lehvaslaiho <heikki.lehvaslaiho@gmail.com>'
build_requires:
File::Find: 0
File::Temp: 0
Module::Build: 0.3601
Test::More: 0
Try::Tiny: 0
configure_requires:
ExtUtils::MakeMaker: 6.30
Module::Build: 0.3601
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300028, CPAN::Meta::Converter version 2.120921'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Config-Cmd
Makefile.PL view on Meta::CPAN
my %WriteMakefileArgs = (
"ABSTRACT" => "Command line to config file two way interface",
"AUTHOR" => "Heikki Lehvaslaiho <heikki.lehvaslaiho\@gmail.com>",
"BUILD_REQUIRES" => {
"File::Find" => 0,
"File::Temp" => 0,
"Module::Build" => "0.3601",
"Test::More" => 0,
"Try::Tiny" => 0
},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30",
"Module::Build" => "0.3601"
},
"DISTNAME" => "Config-Cmd",
"EXE_FILES" => [
"bin/configcmd"
],
"LICENSE" => "perl",
t/01-input.t view on Meta::CPAN
#; -*- mode: CPerl;-*-
use Test::More tests => 22;
use Try::Tiny;
use Config::Cmd;
sub test_input {
my $c = shift;
my @opts = @_;
my $opts = join ' ', @opts;
$opts =~ s/ *= */ /g;
t/02-quotes.t view on Meta::CPAN
#; -*- mode: CPerl;-*-
use Test::More tests => 4;
use Try::Tiny;
use Config::Cmd;
my $c = Config::Cmd->new(section=>'test');
is $c->quote, "'", 'default quote';
is $c->quote('"'), '"', 'double quote';
my @opts = ('-c', '-a', 'b', '--dd', 'ee ff');
( run in 0.639 second using v1.01-cache-2.11-cpan-05444aca049 )