PATH=C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\Perl64-5.14\site\bin;C:\Perl64-5.14\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Perforce;C:\mysql\bin Start 2012-03-26T02:25:28 ActivePerl-1400 CPAN-1.9402 LIB=C:\PlatSDK\Lib\AMD64;C:\PlatSDK\Lib\AMD64\atlmfc INCLUDE=C:\PlatSDK\Include;C:\PlatSDK\Include\crt;C:\PlatSDK\Include\crt\sys;C:\PlatSDK\Include\mfc;C:\PlatSDK\Include\atl PATH=C:/CPANFL~1.14/var/libs/bin;C:\PlatSDK\Bin\Win64\x86\AMD64;C:\PlatSDK\Bin;C:\PlatSDK\Bin\WinNT;C:\Perl64-5.14\site\bin;C:\Perl64-5.14\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~1\v1.0;C:\PROGRA~2\Perforce;C:\mysql\bin Going to read 'C:\cpanfly-5.14\var\cpan\Metadata' Database was generated on Mon, 26 Mar 2012 08:13:51 GMT Running make for B/BR/BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/B/BR/BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/B/BR/BRAINBUZ/CHECKSUMS Checksum for C:\cpanfly-5.14\var\cpan\sources\authors\id\B\BR\BRAINBUZ\String-Validator-Phone-NANP-0.96.tar.gz ok String-Validator-Phone-NANP-0.96/ String-Validator-Phone-NANP-0.96/lib/ String-Validator-Phone-NANP-0.96/lib/String/ String-Validator-Phone-NANP-0.96/lib/String/Validator/ String-Validator-Phone-NANP-0.96/lib/String/Validator/Phone/ String-Validator-Phone-NANP-0.96/lib/String/Validator/Phone/NANP.pm String-Validator-Phone-NANP-0.96/README String-Validator-Phone-NANP-0.96/META.json String-Validator-Phone-NANP-0.96/t/ String-Validator-Phone-NANP-0.96/t/30-number-phone.t String-Validator-Phone-NANP-0.96/t/00-load.t String-Validator-Phone-NANP-0.96/t/21-alpha.t String-Validator-Phone-NANP-0.96/t/20-defaults.t String-Validator-Phone-NANP-0.96/t/22-format.t String-Validator-Phone-NANP-0.96/t/manifest.t String-Validator-Phone-NANP-0.96/t/11-clean.t String-Validator-Phone-NANP-0.96/META.yml String-Validator-Phone-NANP-0.96/MANIFEST String-Validator-Phone-NANP-0.96/Changes String-Validator-Phone-NANP-0.96/Makefile.PL CPAN.pm: Going to build B/BR/BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz >>> C:\Perl64-5.14\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for String::Validator::Phone::NANP Writing MYMETA.yml and MYMETA.json >>> nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. cp lib/String/Validator/Phone/NANP.pm blib\lib\String\Validator\Phone\NANP.pm BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz nmake -- OK Running make test >>> nmake test TEST_VERBOSE=1 Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. C:\Perl64-5.14\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t/*.t # Testing String::Validator::Phone::NANP 0.96, Perl 5.014000, C:\Perl64-5.14\bin\perl.exe t/00-load.t .......... 1..3 ok 1 - use String::Validator::Phone::NANP; ok 2 - Created a String::Validator::Phone::NANP object ok 3 - Object is also a String::ValidatorCommon ok # Testing String::Validator::Phone::NANP 0.96, Perl 5.014000, C:\Perl64-5.14\bin\perl.exe t/11-clean.t ......... ok 1 - use String::Validator::Phone::NANP; ok 2 - ALPHA OFF +1 202 418 1440 >> 202-418-1440 ok 3 - +1 202 418 1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 4 - ALPHA ON +1 202 418 1440 >> 202-418-1440 ok 5 - +1 202 418 1440 10 char check with alpha ON. 202-418-1440 - 1 ok 6 - ALPHA OFF 1 202 418 1440 >> 202-418-1440 ok 7 - 1 202 418 1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 8 - ALPHA ON 1 202 418 1440 >> 202-418-1440 ok 9 - 1 202 418 1440 10 char check with alpha ON. 202-418-1440 - 1 ok 10 - ALPHA OFF 202 418 1440 >> 202-418-1440 ok 11 - 202 418 1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 12 - ALPHA ON 202 418 1440 >> 202-418-1440 ok 13 - 202 418 1440 10 char check with alpha ON. 202-418-1440 - 1 ok 14 - ALPHA OFF (202) 418-1440 >> 202-418-1440 ok 15 - (202) 418-1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 16 - ALPHA ON (202) 418-1440 >> 202-418-1440 ok 17 - (202) 418-1440 10 char check with alpha ON. 202-418-1440 - 1 ok 18 - ALPHA OFF (202)418-1440 >> 202-418-1440 ok 19 - (202)418-1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 20 - ALPHA ON (202)418-1440 >> 202-418-1440 ok 21 - (202)418-1440 10 char check with alpha ON. 202-418-1440 - 1 ok 22 - ALPHA OFF 202.418.1440 >> 202-418-1440 ok 23 - 202.418.1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 24 - ALPHA ON 202.418.1440 >> 202-418-1440 ok 25 - 202.418.1440 10 char check with alpha ON. 202-418-1440 - 1 ok 26 - ALPHA OFF 202-418-1440 >> 202-418-1440 ok 27 - 202-418-1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 28 - ALPHA ON 202-418-1440 >> 202-418-1440 ok 29 - 202-418-1440 10 char check with alpha ON. 202-418-1440 - 1 ok 30 - ALPHA OFF 202 418 1440 >> 202-418-1440 ok 31 - 202 418 1440 10 char check with alpha OFF. 202-418-1440 - 1 ok 32 - ALPHA ON 202 418 1440 >> 202-418-1440 ok 33 - 202 418 1440 10 char check with alpha ON. 202-418-1440 - 1 ok 34 - ALPHA OFF 12024181440 >> 202-418-1440 ok 35 - 12024181440 10 char check with alpha OFF. 202-418-1440 - 1 ok 36 - ALPHA ON 12024181440 >> 202-418-1440 ok 37 - 12024181440 10 char check with alpha ON. 202-418-1440 - 1 ok 38 - ALPHA OFF 786-3162 >> 786-316-2 ok 39 - 786-3162 10 char check with alpha OFF. 786-316-2 - 0 ok 40 - ALPHA ON 786-3162 >> 786-316-2 ok 41 - 786-3162 10 char check with alpha ON. 786-316-2 - 0 ok 42 - ALPHA OFF 718-1786-3162 >> 718-178-63162 ok 43 - 718-1786-3162 10 char check with alpha OFF. 718-178-63162 - 0 ok 44 - ALPHA ON 718-1786-3162 >> 718-178-63162 ok 45 - 718-1786-3162 10 char check with alpha ON. 718-178-63162 - 0 ok 46 - ALPHA OFF 1 (212) MU7-WXYZ >> 212-7- ok 47 - 1 (212) MU7-WXYZ 10 char check with alpha OFF. 212-7- - 0 ok 48 - ALPHA ON 1 (212) MU7-WXYZ >> 212-687-9999 ok 49 - 1 (212) MU7-WXYZ 10 char check with alpha ON. 212-687-9999 - 1 ok 50 - ALPHA OFF 415-AKA-THEM >> 415-- ok 51 - 415-AKA-THEM 10 char check with alpha OFF. 415-- - 0 ok 52 - ALPHA ON 415-AKA-THEM >> 415-252-8436 ok 53 - 415-AKA-THEM 10 char check with alpha ON. 415-252-8436 - 1 ok 54 - ALPHA OFF 1-415-AKA-THEM >> 415-- ok 55 - 1-415-AKA-THEM 10 char check with alpha OFF. 415-- - 0 ok 56 - ALPHA ON 1-415-AKA-THEM >> 415-252-8436 ok 57 - 1-415-AKA-THEM 10 char check with alpha ON. 415-252-8436 - 1 ok 58 - ALPHA OFF +1 (609) Adi-JMPT >> 609-- ok 59 - +1 (609) Adi-JMPT 10 char check with alpha OFF. 609-- - 0 ok 60 - ALPHA ON +1 (609) Adi-JMPT >> 609-234-5678 ok 61 - +1 (609) Adi-JMPT 10 char check with alpha ON. 609-234-5678 - 1 ok 62 - ALPHA OFF 777-QRS-TUV8 >> 777-8- ok 63 - 777-QRS-TUV8 10 char check with alpha OFF. 777-8- - 0 ok 64 - ALPHA ON 777-QRS-TUV8 >> 777-777-8888 ok 65 - 777-QRS-TUV8 10 char check with alpha ON. 777-777-8888 - 1 1..65 ok # Testing String::Validator::Phone::NANP 0.96, Perl 5.014000, C:\Perl64-5.14\bin\perl.exe Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. t/20-defaults.t ...... ok 1 - use String::Validator::Phone::NANP; ok 2 - First test is a valid phone number ok 3 - String ok 4 - Second test is a valid phone number in different format. ok 5 - String ok 6 - 000.418.1440 has an invalid area code. ok 7 - bad area code. ok 8 - 221-321-ABC Check has 1 error ok 9 - 221-321-ABC !Is_Valid ok 10 - 221-321-ABC IsNot_Valid Not a 10 digit... ok 11 - After 221-321-ABC String() is null. ok 12 - After 221-321-ABC Original() is null. ok 13 - After 221-321-ABC International() is null. 1..13 ok # Testing String::Validator::Phone::NANP 0.96, Perl 5.014000, C:\Perl64-5.14\bin\perl.exe Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. t/21-alpha.t ......... ok 1 - use String::Validator::Phone::NANP; # Similar tests to defaults with alpha switched on. ok 2 - First test is a valid phone number +1 312 447 HELP ok 3 - +1 312 447 HELP -> 312-447-4357 ok 4 - Second test is a valid phone number in different format. 201.703.T0YS ok 5 - 201.703.T0YS -> 201-703-8097 ok 6 - Second test is a valid phone number in different format. 604-226-2321 ok 7 - 604.CAN.ADA1 -> 604-226-2321 ok 8 - 000.418.1440 has an invalid area code. ok 9 - bad area code. 1..9 ok # Testing String::Validator::Phone::NANP 0.96, Perl 5.014000, C:\Perl64-5.14\bin\perl.exe Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. t/22-format.t ........ ok 1 - use String::Validator::Phone::NANP; # Several methods for String return and formatting -- # * Original() the original string passed, # * String() returns AREA-EXCHANGE-NUMBER, # * International() 1-AREA-EXCHANGE-NUMBER, # * Parens() (AREA) EXCHANGE-NUMBER, # * Areacode() AREA, # * Local() EXCHANGE-NUMBER. ok 2 - Original() +1 202 418 1440 ok 3 - String() 202-418-1440 ok 4 - International() 1-202-418-1440 ok 5 - Areacode() 202 ok 6 - Exchange() 418 ok 7 - Local() 1440 ok 8 - Parens() (202) 418-1440 ok 9 - Original() 1 (212) MU7-WXYZ ok 10 - String() 212-687-9999 ok 11 - International() 1-212-687-9999 ok 12 - Areacode() 212 ok 13 - Exchange() 687 ok 14 - Local() 9999 ok 15 - Parens() (212) 687-9999 ok 16 - Original() 415-AKA-THEM ok 17 - String() 415-252-8436 ok 18 - International() 1-415-252-8436 ok 19 - Areacode() 415 ok 20 - Exchange() 252 ok 21 - Local() 8436 ok 22 - Parens() (415) 252-8436 ok 23 - Original() +1 (609) Adi-JMPT ok 24 - String() 609-234-5678 ok 25 - International() 1-609-234-5678 ok 26 - Areacode() 609 ok 27 - Exchange() 234 ok 28 - Local() 5678 ok 29 - Parens() (609) 234-5678 1..29 ok # Testing String::Validator::Phone::NANP 0.96, Perl 5.014000, C:\Perl64-5.14\bin\perl.exe Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. Use of uninitialized value $string2 in numeric eq (==) at C:/cpanfly-5.14/var/megalib/String/Validator/Common.pm line 53. t/30-number-phone.t .. ok 1 - use String::Validator::Phone::NANP; # We can create a Number::Phone::NANP object. It is tested to prove this works # and because a major todo is to completely encapsulate Number::Phone within # String::Validator::Phone. # Testing phone object creation for +1 202 418 1440 ok 2 - Created a Number::Phone::NANP object ok 3 - +1 202 418 1440 Number_Phone is_valid should be true. ok 4 - +1 202 418 1440 areacode. ok 5 - +1 202 418 1440 Country: US # Testing phone object creation for 1 (212) MU7-WXYZ ok 6 - Created a Number::Phone::NANP object ok 7 - 1 (212) MU7-WXYZ Number_Phone is_valid should be true. ok 8 - 1 (212) MU7-WXYZ areacode. ok 9 - 1 (212) MU7-WXYZ Country: US # Testing phone object creation for 415-AKA-THEM ok 10 - Created a Number::Phone::NANP object ok 11 - 415-AKA-THEM Number_Phone is_valid should be true. ok 12 - 415-AKA-THEM areacode. ok 13 - 415-AKA-THEM Country: US # Testing phone object creation for 609-234-5678 ok 14 - Created a Number::Phone::NANP object ok 15 - 609-234-5678 Number_Phone is_valid should be true. ok 16 - 609-234-5678 areacode. ok 17 - 609-234-5678 Country: US # Testing phone object creation for 441-323-3451 ok 18 - Created a Number::Phone::NANP object ok 19 - 441-323-3451 Number_Phone is_valid should be true. ok 20 - 441-323-3451 areacode. ok 21 - 441-323-3451 Country: BM # Testing phone object creation for 416-323-3451 ok 22 - Created a Number::Phone::NANP object ok 23 - 416-323-3451 Number_Phone is_valid should be true. ok 24 - 416-323-3451 areacode. ok 25 - 416-323-3451 Country: CA ok 26 - 221-321-ABC fails Is_Valid ok 27 - After 221-321-ABC cannot create a Number::Phone object. 1..27 ok t/manifest.t ......... skipped: Author tests not required for installation All tests successful. Files=7, Tests=146, 2 wallclock secs ( 0.03 usr + 0.01 sys = 0.05 CPU) Result: PASS BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz nmake test TEST_VERBOSE=1 -- OK John Karr <CENSORED> Check a Phone Number (North American Numbering Plan)! >>> (cd C:\cpanfly-5.14\var\cpan\build\String-Validator-Phone-NANP-0.96-eNYE4n && tar cvf - String-Validator-Phone-NANP-0.96.ppd blib) | gzip -c >C:/cpanfly-5.14/var/REPO/B/BR/BRAINBUZ/String-Validator-Phone-NANP-0.96.tar.gz String-Validator-Phone-NANP-0.96.ppd blib/ blib/lib/ blib/lib/String/ blib/lib/String/Validator/ blib/lib/String/Validator/Phone/ blib/lib/String/Validator/Phone/NANP.pm >>> mv C:\cpanfly-5.14\var\cpan\build\String-Validator-Phone-NANP-0.96-eNYE4n/String-Validator-Phone-NANP-0.96.ppd C:/cpanfly-5.14/var/REPO/B/BR/BRAINBUZ Finished 2012-03-26T02:25:34