FAQ
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

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupnumber-phone @
postedJul 18, '15 at 6:18p
activeJul 20, '15 at 12:43p
posts2
users1
websiteshadowcat.co.uk

1 user in discussion

David Cantrell: 2 posts

People

Translate

site design / logo © 2018 Grokbase