Checking if your kit is complete... Looks good Writing Makefile for Class::CGI cp lib/Class/CGI/Handler.pm blib/lib/Class/CGI/Handler.pm cp lib/Class/CGI.pm blib/lib/Class/CGI.pm Manifying blib/man3/Class::CGI::Handler.3 Manifying blib/man3/Class::CGI.3 PERL_DL_NONLAZY=1 /home/cpanrun/tmp/5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-load...............1..1 ok 1 - use Class::CGI; # Testing Class::CGI 0.20, Perl 5.010000, /home/cpanrun/tmp/5.10.0/bin/perl ok t/10-basic..............1..48 ok 1 - Class::CGI->can('new') ok 2 - ... and calling it should succeed ok 3 - ... and the object it returns isa Class::CGI ok 4 - Class::CGI->can('handlers') ok 5 - ... and calling it should succeed ok 6 - ... and it should return a hashref of the current handlers ok 7 - Class::CGI->can('param') ok 8 - ... and calling it should succeed ok 9 - ... and the object it returns isa Example::Customer ok 10 - ... with the correct ID ok 11 - ... and the correct first ok 12 - Calling params for which we have no handler should succeed ok 13 - ... and simply return the raw value of the parameter ok 14 - Calling param() without arguments should succeed ok 15 - Class::CGI->can('args') ok 16 - ... and handlers which rely on args should succeed ok 17 - ... and handle their arguments correctly ok 18 - Calling a multi-valued param in scalar context should return the first value ok 19 - ... and calling it in list context should return all values ok 20 - Trying to fetch a param with a bad handler should fail ok 21 - Failing to provide handlers should throw an exception ok 22 - Failing to provide a hashref of handlers should throw an exception ok 23 - Trying to fetch a value with an invalid ID should fail ok 24 - Class::CGI->can('errors') ok 25 - ... and it should return the generated errors ok 26 - ... and they should be the correct number of errors ok 27 - ... and be the errors thrown by the handlers ok 28 - A brand new Class::CGI object should report no errors ok 29 - Trying to fetch a value with a non-existent ID should fail ok 30 - ... and we should have the errors available ok 31 - ... and they should be the correct number of errors ok 32 - ... and the new error should be correct ok 33 - Trying to refetch a value with a non-existent ID should fail ok 34 - ... and we should have the errors available ok 35 - ... and they should be the correct number of errors ok 36 - ... and the new error should be correct ok 37 - Class::CGI->can('clear_errors') ok 38 - ... and clearing the errors should be successful ok 39 - ... and we should have no more errors reported ok 40 - Class::CGI->can('add_error') ok 41 - ... and setting an error should succeed ok 42 - ... and the error should be present ok 43 - ... and it should be properly encoded ok 44 - Class::CGI->can('error_encoding') ok 45 - ... and setting a new encoding should succeed ok 46 - ... and setting an error should succeed ok 47 - ... and the error should be present ok 48 - ... and it should respect the new encoding ok t/20-instance...........1..29 ok 1 - Class::CGI->can('new') ok 2 - ... and calling it should succeed ok 3 - ... and the object it returns isa Class::CGI ok 4 - Class::CGI->can('handlers') ok 5 - Trying to use handlers which do not exist should fail ok 6 - ... and setting valid handlers on an instance should succeed ok 7 - ... and handlers() should report the correct handlers ok 8 - Class::CGI->can('param') ok 9 - ... and calling it should succeed ok 10 - ... and the object it returns isa Example::Customer ok 11 - ... with the correct ID ok 12 - ... and the correct first ok 13 - A separate Class::CGI instance should not have to share handlers ok 14 - ... and it should behave correctly ok 15 - Calling params for which we have no handler should succeed ok 16 - ... and simply return the raw value of the parameter ok 17 - Calling param() without arguments should succeed ok 18 - Calling a multi-valued param in scalar context should return the first value ok 19 - ... and calling it in list context should return all values ok 20 - Trying to fetch a param with a bad handler should fail ok 21 - Trying to fetch a value with an invalid ID should fail ok 22 - ... and we should have the correct error reported ok 23 - Trying to fetch a value with a non-existent ID should fail ok 24 - ... and we should have the correct error reported ok 25 - Class::CGI->can('required') ok 26 - ... and setting required parameters should succeed ok 27 - Class::CGI->can('is_required') ok 28 - ... and required parameters should report true ok 29 - ... and optional parameters should report false ok t/30-multifields........1..14 ok 1 - Class::CGI->can('new') ok 2 - ... and calling it should succeed ok 3 - ... and the object it returns isa Class::CGI ok 4 - Class::CGI->can('param') ok 5 - ... and calling it should succeed ok 6 - ... and the object it returns isa Example::Customer ok 7 - ... with the correct ID ok 8 - ... and the correct first ok 9 - ... and calling it should succeed ok 10 - ... and the object it returns isa Example::Customer ok 11 - ... with an undefined customer id ok 12 - ... and the correct first name ok 13 - ... and the correct last name ok 14 - ... even though we never had an actual "customer" parameter ok t/40-reused-handlers....1..28 ok 1 - Calling a reused handler param should succeed ok 2 - ... and the object it returns isa Example::Date ok 3 - ... and it should have the correct day ok 4 - ... and it should have the correct month ok 5 - ... and it should have the correct year ok 6 - Calling a reused handler param should succeed ok 7 - ... and the object it returns isa Example::Date ok 8 - ... and it should have the correct day ok 9 - ... and it should have the correct month ok 10 - ... and it should have the correct year ok 11 - But the base params should remain correct ok 12 - But the base params should remain correct ok 13 - But the base params should remain correct ok 14 - Calling a reused instance handler param should succeed ok 15 - ... and the object it returns isa Example::Date ok 16 - ... and it should have the correct day ok 17 - ... and it should have the correct month ok 18 - ... and it should have the correct year ok 19 - Calling a reused instance handler param should succeed ok 20 - ... and the object it returns isa Example::Date ok 21 - ... and it should have the correct day ok 22 - ... and it should have the correct month ok 23 - ... and it should have the correct year ok 24 - Calling a reused instance handler param should succeed ok 25 - ... and the object it returns isa Example::Date ok 26 - ... and it should have the correct day ok 27 - ... and it should have the correct month ok 28 - ... and it should have the correct year ok t/50-profile-file.......1..38 Name "Config::Std::Hash::DEMOLISH" used only once: possible typo at /home/cpanrun/build/5.10.0/site/lib/Class/Std.pm line 523. ok 1 - We should be able to create Class::CGI object from config file profiles ok 2 - Calling a param that we did not ask for should return false ok 3 - Calling a reused handler param should succeed ok 4 - ... and the object it returns isa Example::Date ok 5 - ... and it should have the correct day ok 6 - ... and it should have the correct month ok 7 - ... and it should have the correct year ok 8 - Calling a reused handler param should succeed ok 9 - ... and the object it returns isa Example::Date ok 10 - ... and it should have the correct day ok 11 - ... and it should have the correct month ok 12 - ... and it should have the correct year ok 13 - But the base params should remain correct ok 14 - But the base params should remain correct ok 15 - But the base params should remain correct ok 16 - Specifying profiles should allow a single handler to be used ok 17 - Calling a param that we did not ask for should return false ok 18 - Calling a reused handler param should succeed ok 19 - ... and the object it returns isa Example::Date ok 20 - ... and it should have the correct day ok 21 - ... and it should have the correct month ok 22 - ... and it should have the correct year ok 23 - ... and unused handlers should not trigger ok 24 - Trying to load a non-existent profile file should fail ok 25 - ... telling us it cannot find the file ok 26 - Class::CGI->can('profiles') ok 27 - Calling a reused handler param should succeed ok 28 - Calling a reused handler param should succeed ok 29 - ... and the object it returns isa Example::Date ok 30 - ... and it should have the correct day ok 31 - ... and it should have the correct month ok 32 - ... and it should have the correct year ok 33 - Loading all handlers from a profile file should succeed ok 34 - ... and the correct handlers should be loaded ok 35 - ... and manually specified handlers should override profile handlers ok 36 - ... and trying to use a non-existing parameter should fail (class) ok 37 - ... and trying to use a non-existing parameter should fail (instance) ok 38 - ... and trying to use a non-existing profile file should fail (instance) ok t/60-handler-base.......1..22 ok 1 - use Class::CGI::Handler; ok 2 - Faux::Handler->can('new') ok 3 - ... and calling the handler should succeed ok 4 - ... and the object it returns isa Correct ok 5 - Faux::Handler->can('cgi') ok 6 - ... and the object it returns isa Class::CGI ok 7 - Faux::Handler->can('param') ok 8 - ... and it should report the requested param ok 9 - Class::CGI->can('is_missing_required') ok 10 - ... and it should not report existing parameters as missing ok 11 - ... nor should it report missing parameters if they are unrequired ok 12 - ... and no errors should be reported ok 13 - Faux::Handler->can('has_virtual_param') ok 14 - ... and a virtual parameter missing a part should report itself as missing ok 15 - ... and the CGI object should report it as missing ok 16 - ... and we should have errors reported ok 17 - ... with the correct error messages ok 18 - ... and a virtual parameter with all its parts should report itself as present ok 19 - Trying to create an object from a missing parameter should fail ok 20 - ... and the parameter should be reported as missing ok 21 - ... and we should have errors reported ok 22 - ... with the correct error messages ok t/pod-coverage..........1..0 # Skip Test::Pod::Coverage 1.04 required for testing POD coverage skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod...................1..0 # Skip Test::Pod 1.14 required for testing POD skipped all skipped: Test::Pod 1.14 required for testing POD All tests successful, 2 tests skipped. Files=9, Tests=180, 2 wallclock secs ( 0.91 cusr + 0.22 csys = 1.13 CPU) Installing /home/cpanrun/build/5.10.0/html/site/lib/Class/CGI.html Installing /home/cpanrun/build/5.10.0/html/site/lib/Class/CGI/Handler.html Installing /home/cpanrun/build/5.10.0/site/lib/Class/CGI.pm Installing /home/cpanrun/build/5.10.0/site/lib/Class/CGI/Handler.pm Installing /home/cpanrun/build/5.10.0/site/man/man3/Class::CGI.3 Installing /home/cpanrun/build/5.10.0/site/man/man3/Class::CGI::Handler.3 Appending installation info to /home/cpanrun/build/5.10.0/lib/perllocal.pod