PATH=C:\mingw\bin;C:\cygwin\bin;C:\cpanfly-5.20\var\megalib\bin;C:\Perl-5.20\site\bin;C:\Perl-5.20\bin;C:\cygwin\bin;C:\Program Files\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\instantclient_11_2;C:\cygwin\bin;C:\Program Files\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\mysql\bin Start 2014-10-28T11:05:47 ActivePerl-2000 CPAN-2.00 LIB=C:\PROGRA~1\MICROS~3\VC98\Lib\PSDK PATH=C:/CPANFL~1.20/var/libs/bin;C:\mingw\bin;C:\cygwin\bin;C:\CPANFL~1.20\var\megalib\bin;C:\Perl-5.20\site\bin;C:\Perl-5.20\bin;C:\cygwin\bin;C:\PROGRA~1\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\INSTAN~1;C:\cygwin\bin;C:\PROGRA~1\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\mysql\bin Reading 'C:\cpanfly-5.20\var\cpan\Metadata' Database was generated on Tue, 28 Oct 2014 12:29:02 GMT Fetching with LWP: http://cpan.nas1.activestate.com/authors/01mailrc.txt.gz Reading 'C:\cpanfly-5.20\var\cpan\sources\authors\01mailrc.txt.gz' ............................................................................DONE Fetching with LWP: http://cpan.nas1.activestate.com/modules/02packages.details.txt.gz Reading 'C:\cpanfly-5.20\var\cpan\sources\modules\02packages.details.txt.gz' Database was generated on Tue, 28 Oct 2014 17:17:02 GMT .............. New CPAN.pm version (v2.05) available. [Currently running version is v2.00] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session. ..............................................................DONE Fetching with LWP: http://cpan.nas1.activestate.com/modules/03modlist.data.gz Reading 'C:\cpanfly-5.20\var\cpan\sources\modules\03modlist.data.gz' DONE Writing C:\cpanfly-5.20\var\cpan\Metadata Running make for M/MA/MANWAR/BankAccount-Validator-UK-0.12.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/M/MA/MANWAR/BankAccount-Validator-UK-0.12.tar.gz Checksum for C:\cpanfly-5.20\var\cpan\sources\authors\id\M\MA\MANWAR\BankAccount-Validator-UK-0.12.tar.gz ok BankAccount-Validator-UK-0.12/ BankAccount-Validator-UK-0.12/META.json BankAccount-Validator-UK-0.12/MANIFEST BankAccount-Validator-UK-0.12/lib/ BankAccount-Validator-UK-0.12/lib/BankAccount/ BankAccount-Validator-UK-0.12/lib/BankAccount/Validator/ BankAccount-Validator-UK-0.12/lib/BankAccount/Validator/UK/ BankAccount-Validator-UK-0.12/lib/BankAccount/Validator/UK/Rule.pm BankAccount-Validator-UK-0.12/lib/BankAccount/Validator/UK.pm BankAccount-Validator-UK-0.12/META.yml BankAccount-Validator-UK-0.12/Makefile.PL BankAccount-Validator-UK-0.12/README BankAccount-Validator-UK-0.12/MANIFEST.SKIP BankAccount-Validator-UK-0.12/share/ BankAccount-Validator-UK-0.12/share/valacdos.txt BankAccount-Validator-UK-0.12/share/scsubtab.txt BankAccount-Validator-UK-0.12/t/ BankAccount-Validator-UK-0.12/t/01-unit-test.t BankAccount-Validator-UK-0.12/t/manifest.t BankAccount-Validator-UK-0.12/t/pod.t BankAccount-Validator-UK-0.12/t/02-unit-test.t BankAccount-Validator-UK-0.12/t/00-load.t BankAccount-Validator-UK-0.12/Changes BankAccount-Validator-UK-0.12/SIGNATURE CPAN.pm: Building M/MA/MANWAR/BankAccount-Validator-UK-0.12.tar.gz >>> C:\Perl-5.20\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for BankAccount::Validator::UK Writing MYMETA.yml and MYMETA.json >>> dmake cp share\scsubtab.txt blib\lib\auto\share\dist\BankAccount-Validator-UK\scsubtab.txt cp share\valacdos.txt blib\lib\auto\share\dist\BankAccount-Validator-UK\valacdos.txt cp lib/BankAccount/Validator/UK.pm blib\lib\BankAccount\Validator\UK.pm cp lib/BankAccount/Validator/UK/Rule.pm blib\lib\BankAccount\Validator\UK\Rule.pm MANWAR/BankAccount-Validator-UK-0.12.tar.gz dmake -- OK Running make test >>> dmake test TEST_VERBOSE=1 Skip blib\lib\auto\share\dist\BankAccount-Validator-UK\valacdos.txt (unchanged) Skip blib\lib\auto\share\dist\BankAccount-Validator-UK\scsubtab.txt (unchanged) C:\Perl-5.20\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib\lib', 'blib\arch')" t/*.t # Testing BankAccount::Validator::UK 0.12, Perl 5.020001, C:\Perl-5.20\bin\perl.exe t/00-load.t ....... 1..2 ok 1 - use BankAccount::Validator::UK; ok 2 - use BankAccount::Validator::UK::Rule; ok t/01-unit-test.t .. 1..6 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok t/02-unit-test.t .. 1..34 ok 1 - Pass modulus 10 check. ok 2 - Pass modulus 11 check. ok 3 - Pass modulus 11 and double alternate checks. ok 4 - Exception 10 & 11 where first check passes and second check fails. ok 5 - Exception 10 & 11 where first check fails and second check passes. ok 6 - Exception 10 where in the account number ab=09 and the g=9. The first check passes and second check fails. ok 7 - Exception 10 where in the account number ab=99 and the g=9. The first check passes and the second check fails. ok 8 - Exception 3, and the sorting code is the start of a range. As c=6 the second check should be ignored. ok 9 - Exception 3, and the sorting code is the end of a range. As c=9 the second check should be ignored. ok 10 - Exception 3. As c<>6 or 9 perform both checks pass. ok 11 - Exception 4 where the remainder is equal to the checkdigit. ok 12 - Exception 1 - ensures that 27 has been added to the accumulated total and passes double alternate modulus check. ok 13 - Exception 6 where the account fails standard check but is a foreign currency account. ok 14 - Exception 5 where the check passes. ok 15 - Exception 5 where the check passes with substitution. ok 16 - Exception 5 where both checks produce a remainder of 0 and pass. ok 17 - Exception 7 where passes but would fail the standard check. ok 18 - Exception 8 where the check passes. ok 19 - Exception 2 & 9 where the first check passes and second check fails. ok 20 - Exception 2 & 9 where the first check fails and second check passes with substitution. ok 21 - Exception 2 & 9 where a<>0 and g<>9 and passes. ok 22 - Exception 2 & 9 where a<>0 and g=9 and passes. ok 23 - Exception 5 where the first checkdigit is correct and the second incorrect. ok 24 - Exception 5 where the first checkdigit is incorrect and the second correct. ok 25 - Exception 5 where the first checkdigit is incorrect with a remainder of 1. ok 26 - Exception 1 where it fails double alternate check. ok 27 - Pass modulus 11 check and fail double alternate check. ok 28 - Fail modulus 11 check and pass double alternate check. ok 29 - Fail modulus 10 check. ok 30 - Fail modulus 11 check. ok 31 - Exception 12/13 where passes the modulus 11 check (in this example, modulus 10 check fails, however, there is no need for it to be performed as the first check passed). ok 32 - Exception 12/13 where passes the modulus 11 check (in this example, modulus 10 check passes as well, however, there is no need for it to be performed as the first check passed). ok 33 - Exception 12/13 where fails the modulus 11 check, but passes the modulus 10 check. ok 34 - Exception 14 where the first check fails and the second check passes. ok t/manifest.t ...... skipped: Author tests not required for installation t/pod.t ........... 1..2 ok 1 - POD test for blib/lib/BankAccount/Validator/UK.pm ok 2 - POD test for blib/lib/BankAccount/Validator/UK/Rule.pm ok All tests successful. Files=5, Tests=44, 3 wallclock secs ( 0.11 usr + 0.01 sys = 0.12 CPU) Result: PASS MANWAR/BankAccount-Validator-UK-0.12.tar.gz dmake test TEST_VERBOSE=1 -- OK Mohammad S Anwar <mohammad.anwar@yahoo.com> Interface to validate UK bank account. >>> (cd C:\cpanfly-5.20\var\cpan\build\BankAccount-Validator-UK-0.12-rPOef5 && tar cvf - BankAccount-Validator-UK-0.12.ppd blib) | gzip -c >C:/cpanfly-5.20/var/REPO/M/MA/MANWAR/BankAccount-Validator-UK-0.12.tar.gz BankAccount-Validator-UK-0.12.ppd blib/ blib/lib/ blib/lib/auto/ blib/lib/auto/share/ blib/lib/auto/share/dist/ blib/lib/auto/share/dist/BankAccount-Validator-UK/ blib/lib/auto/share/dist/BankAccount-Validator-UK/scsubtab.txt blib/lib/auto/share/dist/BankAccount-Validator-UK/valacdos.txt blib/lib/BankAccount/ blib/lib/BankAccount/Validator/ blib/lib/BankAccount/Validator/UK/ blib/lib/BankAccount/Validator/UK/Rule.pm blib/lib/BankAccount/Validator/UK.pm >>> mv C:\cpanfly-5.20\var\cpan\build\BankAccount-Validator-UK-0.12-rPOef5/BankAccount-Validator-UK-0.12.ppd C:/cpanfly-5.20/var/REPO/M/MA/MANWAR Finished 2014-10-28T11:06:12