Config-Cmd

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

  "dist_name" => "Config-Cmd",
  "dist_version" => "0.002",
  "license" => "perl",
  "module_name" => "Config::Cmd",
  "recommends" => {},
  "recursive_test_files" => 1,
  "requires" => {
    "Carp" => 0,
    "Getopt::Long" => 0,
    "Mo" => 0,
    "Modern::Perl" => 0,
    "YAML" => 0,
    "constant" => 0,
    "perl" => "5.006",
    "strict" => 0,
    "warnings" => 0
  },
  "script_files" => [
    "bin/configcmd"
  ]
);

META.json  view on Meta::CPAN

            "Test::CPAN::Meta" : "0",
            "Test::Pod" : "1.41",
            "Test::Pod::Coverage" : "1.08"
         }
      },
      "runtime" : {
         "requires" : {
            "Carp" : "0",
            "Getopt::Long" : "0",
            "Mo" : "0",
            "Modern::Perl" : "0",
            "YAML" : "0",
            "constant" : "0",
            "perl" : "5.006",
            "strict" : "0",
            "warnings" : "0"
         }
      },
      "test" : {
         "requires" : {
            "File::Find" : "0",

META.yml  view on Meta::CPAN

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
requires:
  Carp: 0
  Getopt::Long: 0
  Mo: 0
  Modern::Perl: 0
  YAML: 0
  constant: 0
  perl: 5.006
  strict: 0
  warnings: 0
version: 0.002
x_Dist_Zilla:
  perl:
    version: 5.016001
  plugins:

Makefile.PL  view on Meta::CPAN

  "DISTNAME" => "Config-Cmd",
  "EXE_FILES" => [
    "bin/configcmd"
  ],
  "LICENSE" => "perl",
  "NAME" => "Config::Cmd",
  "PREREQ_PM" => {
    "Carp" => 0,
    "Getopt::Long" => 0,
    "Mo" => 0,
    "Modern::Perl" => 0,
    "YAML" => 0,
    "constant" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "VERSION" => "0.002",
  "test" => {
    "TESTS" => "t/*.t"
  }
);

lib/Config/Cmd.pm  view on Meta::CPAN

package Config::Cmd;
use Mo qw(default);
use YAML qw'DumpFile LoadFile';
use Modern::Perl;
use Carp;

# ABSTRACT: Command line to config file two way interface
our $VERSION = '0.002'; # VERSION

use constant EXT => '_conf.yaml';

has section => ();
has filename => ();
has quote => ( default => sub { q(') } );



( run in 0.309 second using v1.01-cache-2.11-cpan-4d50c553e7e )