Locale-Utils-PlaceholderNamed

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
      "version" : "2"
   },
   "name" : "Locale-Utils-PlaceholderNamed",
   "prereqs" : {
      "build" : {
         "requires" : {
            "Test::Differences" : "0.60",
            "Test::Exception" : "0",
            "Test::More" : "0",
            "Test::NoWarnings" : "0"
         }
      },
      "runtime" : {
         "recommends" : {
            "Test::Pod" : "1.14",
            "Test::Pod::Coverage" : "1.04"
         },

META.yml  view on Meta::CPAN

---
abstract: 'Locale::Utils::PlaceholderNamed - Utils to expand named placeholders'
author:
  - 'Steffen Winkler <steffenw at cpan.org>'
build_requires:
  Test::Differences: '0.60'
  Test::Exception: '0'
  Test::More: '0'
  Test::NoWarnings: '0'
dynamic_config: 1
generated_by: 'Module::Build version 0.4218, CPAN::Meta::Converter version 2.150005'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Locale-Utils-PlaceholderNamed

Makefile.PL  view on Meta::CPAN

# Note: this file was auto-generated by Module::Build::Compat version 0.4218
require 5.006;
use ExtUtils::MakeMaker;
WriteMakefile
(
  'INSTALLDIRS' => 'site',
  'NAME' => 'Locale::Utils::PlaceholderNamed',
  'PL_FILES' => {},
  'EXE_FILES' => [],
  'PREREQ_PM' => {
                   'Test::Differences' => '0.60',
                   'Test::Exception' => 0,
                   'MooX::StrictConstructor' => 0,
                   'MooX::Types::MooseLike::Base' => 0,
                   'namespace::autoclean' => 0,
                   'Test::NoWarnings' => 0,
                   'Test::More' => 0,
                   'Moo' => '1.003001',
                   'Carp' => 0
                 },
  'VERSION_FROM' => 'lib/Locale/Utils/PlaceholderNamed.pm'

t/11_expand_named.t  view on Meta::CPAN

#!perl -T

use strict;
use warnings;

use Test::More tests => 10;
use Test::NoWarnings;
use Test::Differences;

BEGIN {
    use_ok 'Locale::Utils::PlaceholderNamed';
}

my $obj = Locale::Utils::PlaceholderNamed->new;

is_deeply
    [ $obj->expand_named ],
    [ undef ],

t/12_modifier_code.t  view on Meta::CPAN

#!perl -T

use strict;
use warnings;

use Test::More tests => 4;
use Test::NoWarnings;
use Test::Differences;

BEGIN {
    use_ok 'Locale::Utils::PlaceholderNamed' ;
}

my $obj = Locale::Utils::PlaceholderNamed->new(
    modifier_code => sub {
        my ($value, $attribute) = @_;
        if ( $attribute eq 'int' ) {
            return int $value;

t/21_test_examples.t  view on Meta::CPAN

#!perl

use strict;
use warnings;

use Test::More;
use Test::Differences;
use Cwd qw(getcwd chdir);
use English qw(-no_match_vars $CHILD_ERROR);

$ENV{AUTHOR_TESTING}
    or plan skip_all => 'Set $ENV{AUTHOR_TESTING} to run this test.';

my @data = (
    {
        test   => '01_expand_named',
        path   => 'example',



( run in 0.348 second using v1.01-cache-2.11-cpan-131fc08a04b )