PATH=/usr/bin:/bin:/Users/fly1400/var/megalib/bin Start 2013-07-09T01:07:36 ActivePerl-1400 CPAN-2.00 Reading '/Users/fly1400/var/cpan/Metadata' Database was generated on Tue, 09 Jul 2013 07:17:02 GMT Running make for D/DO/DOY/Try-Tiny-0.15.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DO/DOY/Try-Tiny-0.15.tar.gz ok Try-Tiny-0.15 Try-Tiny-0.15/README Try-Tiny-0.15/Changes Try-Tiny-0.15/LICENSE Try-Tiny-0.15/dist.ini Try-Tiny-0.15/t Try-Tiny-0.15/t/when.t Try-Tiny-0.15/META.yml Try-Tiny-0.15/MANIFEST Try-Tiny-0.15/t/named.t Try-Tiny-0.15/t/basic.t Try-Tiny-0.15/META.json Try-Tiny-0.15/t/context.t Try-Tiny-0.15/t/finally.t Try-Tiny-0.15/Makefile.PL Try-Tiny-0.15/t/given_when.t Try-Tiny-0.15/maint Try-Tiny-0.15/maint/bench.pl Try-Tiny-0.15/t/00-compile.t Try-Tiny-0.15/lib/Try Try-Tiny-0.15/lib/Try/Tiny.pm Try-Tiny-0.15/xt/release Try-Tiny-0.15/xt/release/eol.t Try-Tiny-0.15/t/erroneous_usage.t Try-Tiny-0.15/xt/release/no-tabs.t Try-Tiny-0.15/xt/release/pod-syntax.t Try-Tiny-0.15/xt/release/pod-coverage.t CPAN.pm: Building D/DO/DOY/Try-Tiny-0.15.tar.gz >>> /Users/fly1400/ap1400/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Try::Tiny Writing MYMETA.yml and MYMETA.json >>> make cp lib/Try/Tiny.pm blib/lib/Try/Tiny.pm Manifying blib/man3/Try::Tiny.3 DOY/Try-Tiny-0.15.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /Users/fly1400/ap1400/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t ....... 1..1 ok 1 - Try::Tiny loaded ok ok t/basic.t ............ 1..25 ok 1 - basic try ok 2 - rethrow ok 3 - try block evaluated ok 4 - $@ untouched ok 5 - try block died ok 6 - $@ untouched ok 7 - catch block evaluated ok 8 - $@ untouched ok 9 - scalar context try ok 10 - list context try ok 11 - scalar context catch ok 12 - list context catch ok 13 - Checking catch subroutine scalar reference is correctly blessed ok 14 - Checking finally subroutine scalar reference is correctly blessed ok 15 ok 16 - got here ok 17 - try in try catch block ok 18 - rethrow with try in catch block ok 19 - catch invoked ok 20 ok 21 - $@ untouched ok 22 - $_ untouched ok 23 - previous value of $@ ok 24 - previous value of $@ available for capture ok 25 - previous value of $@ also available in catch block ok t/context.t .......... 1..25 ok 1 - Proper context LIST in try{} ok 2 - Proper VOID context in finally{} 2 ok 3 - Proper VOID context in finally{} 1 ok 4 ok 5 - Proper context LIST in try{} ok 6 - Proper context LIST in catch{} ok 7 - Proper VOID context in finally{} 2 ok 8 - Proper VOID context in finally{} 1 ok 9 ok 10 - Proper context SCALAR in try{} ok 11 - Proper VOID context in finally{} 2 ok 12 - Proper VOID context in finally{} 1 ok 13 ok 14 - Proper context SCALAR in try{} ok 15 - Proper context SCALAR in catch{} ok 16 - Proper VOID context in finally{} 2 ok 17 - Proper VOID context in finally{} 1 ok 18 ok 19 - Proper context VOID in try{} ok 20 - Proper VOID context in finally{} 2 ok 21 - Proper VOID context in finally{} 1 ok 22 - Proper context VOID in try{} ok 23 - Proper context VOID in catch{} ok 24 - Proper VOID context in finally{} 2 ok 25 - Proper VOID context in finally{} 1 ok t/erroneous_usage.t .. 1..8 ok 1 - Bare catch() detected ok 2 - Bare finally() detected ok 3 - Bare catch()/finally() detected ok 4 - Bare finally()/catch() detected ok 5 - Multi-catch detected ok 6 - Unterminated try detected ok 7 - Bare catch at the end of a function call ok 8 - Bare finally at the end of a function call ok t/finally.t .......... 1..27 ok 1 - Moved into finally from try ok 2 - Error text as expected ok 3 - Into catch block as we died in try ok 4 - Moved into finally from catch ok 5 - Error text as expected ok 6 - Moved into finally from catch ok 7 - Moved into finally block when try throws an exception and we have no catch block ok 8 - Second finally clause run ok 9 - First finally clause run ok 10 - no error reported ok 11 - finally got passed the exception ok 12 - finally called ok 13 - not localized in try ok 14 - nothing in @_ (finally) ok 15 - $_ not localized (finally) ok 16 - same afterwards ok 17 - not localized in try ok 18 - error in @_ (catch) ok 19 - error in $_ (catch) ok 20 - error in @_ (finally) ok 21 - error in @_ (finally) ok 22 - $_ not localized (finally) ok 23 - same afterwards ok 24 - fin 2 called ok 25 - warnings from both fatal finally blocks ok 26 - First warning contains original exception ok 27 - Second warning contains original exception ok t/given_when.t ....... 1..2 ok 1 - error caught not ok 2 - error is also in $_ # TODO perhaps a workaround can be found # Failed (TODO) test 'error is also in $_' # at t/given_when.t line 36. # got: 'foo' # expected: 'blah # ' ok t/named.t ............ 1..4 ok 1 - use Try::Tiny; ok 2 - try name ok 3 - catch name ok 4 - finally name ok t/when.t ............. 1..5 ok 1 ok 2 - $_ not clobbered ok 3 - bar didn't match ok 4 - foo matched ok 5 - fallback didn't match ok All tests successful. Files=8, Tests=97, 0 wallclock secs ( 0.05 usr 0.02 sys + 0.35 cusr 0.07 csys = 0.49 CPU) Result: PASS DOY/Try-Tiny-0.15.tar.gz make test TEST_VERBOSE=1 -- OK Jesse Luehrs <doy@cpan.org> minimal try/catch with proper preservation of $@ >>> (cd /Users/fly1400/var/cpan/build/Try-Tiny-0.15-8LIir8 && tar cvf - Try-Tiny-0.15.ppd blib) | gzip -c >/Users/fly1400/var/REPO/D/DO/DOY/Try-Tiny-0.15.tar.gz Try-Tiny-0.15.ppd blib/ blib/lib/ blib/lib/Try/ blib/lib/Try/Tiny.pm blib/man3/ blib/man3/Try::Tiny.3 >>> mv /Users/fly1400/var/cpan/build/Try-Tiny-0.15-8LIir8/Try-Tiny-0.15.ppd /Users/fly1400/var/REPO/D/DO/DOY Finished 2013-07-09T01:07:50