Number-Phone

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "I18N::LangTags" : "0",
            "I18N::LangTags::Detect" : "0",
            "Scalar::Util" : "1.48"
         }
      },
      "test" : {
         "requires" : {
            "Carp" : "0",
            "Devel::Hide" : "0",
            "Test2::V0" : "0",
            "Test::Differences" : "0.62",
            "Test::More" : "0.96",
            "Test::Warnings" : "0.031",
            "if" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://github.com/DrHyde/perl-modules-Number-Phone/issues"

META.yml  view on Meta::CPAN

author:
  - unknown
build_requires:
  Carp: '0'
  Devel::Hide: '0'
  ExtUtils::Install: '0'
  ExtUtils::MakeMaker: '6.64'
  ExtUtils::Manifest: '0'
  File::ShareDir::Install: '0.11'
  Test2::V0: '0'
  Test::Differences: '0.62'
  Test::More: '0.96'
  Test::Warnings: '0.031'
  if: '0'
configure_requires:
  ExtUtils::Install: '0'
  ExtUtils::MakeMaker: '6.64'
  ExtUtils::Manifest: '0'
  File::ShareDir::Install: '0.11'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 7.66, CPAN::Meta::Converter version 2.150010'

Makefile.PL  view on Meta::CPAN

    'File::Basename'                     => 0,
    'File::Find::Rule'                   => 0,
    'File::ShareDir'                     => 1.104,
    'File::Spec'                         => 0,
    'I18N::LangTags'                     => 0,
    'I18N::LangTags::Detect'             => 0,
    'Scalar::Util'                       => 1.48,
  },
  TEST_REQUIRES => {
    'Carp'                   => 0,
    'Test::Differences'      => 0.62,
    'Test::More'             => '0.96', # done_testing and subtests
    'Test2::V0'              => 0, # we'll slowly migrate old tests to this
    'Test::Warnings'         => 0.031,
    'Devel::Hide'            => 0,
    'if'                     => 0,
  },
  dist => {
    # PREOP    => "./build-data.sh --previouslibphonenumbertag --quietly",
    TARFLAGS => "--format ustar -c -v -f",
  },

t/manifest-contains-all-modules.t  view on Meta::CPAN

use strict;
use warnings;

use File::Find::Rule;

use Test::More;
use Test::Differences;

# This is a sanity-check to make sure that MANIFEST is up-to-date, as it is
# used by Makefile.PL to generate the list of files to install (see the PM
# section in Makefile.PL)

open(my $manifest_fh, '<', 'MANIFEST') || die("Couldn't open MANIFEST: $!\n");
my @manifest = sort grep { /^lib.*\.pm$/ } map { chomp; $_ } <$manifest_fh>;
my @files = sort File::Find::Rule->file()->name('*.pm')->in('lib');

eq_or_diff(

t/only-use-blib-under-make-test.t  view on Meta::CPAN

    unshift @INC, 'buildtools';
    require Number::Phone::BuildTools;
    Number::Phone::BuildTools->import();
    delete $INC{'Number/Phone/BuildTools.pm'};
    shift @INC;
}

use Cwd;

use Test::More;
use Test::Differences;

# This is a sanity-check to make sure that when running under 'make test' in
# the Github workflows that test the normal and --without_uk builds, perl
# only loads Number::Phone::* from blib (and so with/without full-fat UK support)
# and not from lib

use Test::More;
if(!$ENV{BUILD_TEST}) {
    plan skip_all => 'Test only relevant in CI builds set BUILD_TEST to over-ride';
}

t/weird_little_islands.t  view on Meta::CPAN

use strict;
use warnings;
use lib 't/inc';
use nptestutils;

use Test::More;
use Test::Differences;

use Number::Phone;
use Number::Phone::Lib;

my $data = {
  JE => {
    mobile     => '+44 7700 300000', # used specifically because there's a special case for 7700 900
    geographic => '+44 1534 440000',
    operator   => qr/^(JT|Sure) \(Jersey\) Limited$/,
    regulator  => 'Jersey Competition Regulation Authority, https://www.jcra.je/',



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