ARGV-Struct

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         }
      },
      "runtime" : {
         "requires" : {
            "Moo" : "0",
            "Types::Standard" : "0"
         }
      },
      "test" : {
         "requires" : {
            "Test::Exception" : "0",
            "Test::More" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://github.com/pplu/argv-struct/issues"
      },
      "repository" : {
         "type" : "git",

META.yml  view on Meta::CPAN

---
abstract: 'Parse complex data structures passed in ARGV'
author:
  - 'Jose Luis Martinez <joseluis.martinez@capside.com>'
build_requires:
  Test::Exception: '0'
  Test::More: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.012, 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: ARGV-Struct
requires:

Makefile.PL  view on Meta::CPAN

  "EXE_FILES" => [
    "bin/argvstruct"
  ],
  "LICENSE" => "perl",
  "NAME" => "ARGV::Struct",
  "PREREQ_PM" => {
    "Moo" => 0,
    "Types::Standard" => 0
  },
  "TEST_REQUIRES" => {
    "Test::Exception" => 0,
    "Test::More" => 0
  },
  "VERSION" => "0.06",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (
  "Moo" => 0,
  "Test::Exception" => 0,
  "Test::More" => 0,
  "Types::Standard" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

cpanfile  view on Meta::CPAN

requires 'Moo';
requires 'Types::Standard';

on test => sub {
  requires 'Test::More';
  requires 'Test::Exception';
}

dist.ini  view on Meta::CPAN

[MetaJSON]

[MetaResources]
repository.web = https://github.com/pplu/argv-struct
repository.url = https://github.com/pplu/argv-struct.git
repository.type = git
bugtracker.web = https://github.com/pplu/argv-struct/issues

[License]

[RunExtraTests]
[TestRelease]

[Manifest]

[Prereqs::FromCPANfile]

[Prereqs / TestRequires ]
Test::More = 0
Test::Exception = 0

t/01_load.t  view on Meta::CPAN

#!/usr/bin/env perl

use Test::More;

BEGIN {
  use_ok('ARGV::Struct')
}

my $argv = ARGV::Struct->new;
isa_ok($argv, 'ARGV::Struct');

done_testing;

t/03_conformance.t  view on Meta::CPAN

#!/usr/bin/env perl

use Test::More;
use ARGV::Struct;

my @tests = (
 { argv => [ qw/{ X Y }/ ],
   struct => { X => 'Y' },
 },
 { argv => [ qw/{ X: Y }/ ],
   struct => { X => 'Y' },
 },
 { argv => [ qw/{ X:: Y }/ ],

t/04_errors.t  view on Meta::CPAN

#!/usr/bin/env perl

use Test::More;
use Test::Exception;
use ARGV::Struct;

my @tests = (
 { argv => [ qw/{/ ],
   error => 'Unclosed hash',
 },
 { argv => [ qw/{ X=Y Y={/ ],
   error => 'Unclosed hash',
 },
 { argv => [ qw/[/ ],

t/pod.t  view on Meta::CPAN

use Test::More;
use strict;
use warnings;

eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
my @poddirs = qw( lib auto-lib );
all_pod_files_ok( all_pod_files( @poddirs ) );

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.786 second using v1.00-cache-2.02-grep-82fe00e-cpan-585fae043c8 )