[Number-phone] Number::Phone 3.0009 is on the CPAN

David Cantrell david at cantrell.org.uk
Mon Jul 20 12:43:45 GMT 2015


I've noticed a few failure reports from the CPAN-testers: http://goo.gl/liqwMc

So far they all appear to be because the machine has a country-specific
subclass installed which is failing in unexpected ways when I pass
broken data to its constructor. I was intending to pass broken data to a
N::P::StubCountry subclass's constructor.

I'll release an update that works around this soon, but for now, if you
get test failures like this:

    Not a valid Brazilian phone number: +55 at /opt/perl-5.18.4/lib/site_perl/5.18.4/Number/Phone/BR.pm line 69.
        Number::Phone::BR::BUILD(Number::Phone::BR=HASH(0xf95298), HASH(0x10a7ef0)) called at (eval 60) line 57
        ....
    # Tests were run but no plan was declared and done_testing() was not seen.
    # Looks like your test exited with 255 just after 20.
    t/41-stubs.t ........................................... 
    Dubious, test returned 255 (wstat 65280, 0xff00)

or:

    warning made fatal: Argument "" isn't numeric in numeric lt (<) at /opt/perl-5.20.1/lib/site_perl/5.20.1/Number/Phone/NO/Data.pm line 26.
    # Tests were run but no plan was declared and done_testing() was not seen.
    # Looks like your test exited with 255 just after 41.
    t/41-stubs.t ........................................... 
    Dubious, test returned 255 (wstat 65280, 0xff00)

then you can ignore them.

The key thing is that it's t/41-stubs.t that is failing, and that the
failure is coming from a Number::Phone::XX module.

-- 
David Cantrell | http://www.cantrell.org.uk/david

    fdisk format reinstall, doo-dah, doo-dah;
    fdisk format reinstall, it's the Windows way



More information about the number-phone mailing list