Start 2010-05-27T18:06:08 ActivePerl-1003 CPAN-1.9402 Going to read '/home/cpanfly/var/cpan/Metadata' Database was generated on Thu, 27 May 2010 21:27:09 GMT Running make for N/NU/NUFFIN/Try-Tiny-0.06.tar.gz Checksum for /net/nas/data/cpan/authors/id/N/NU/NUFFIN/Try-Tiny-0.06.tar.gz ok Will not use Archive::Tar, need 1.00 Try-Tiny-0.06/ Try-Tiny-0.06/Changes Try-Tiny-0.06/lib/ Try-Tiny-0.06/Makefile.PL Try-Tiny-0.06/MANIFEST Try-Tiny-0.06/MANIFEST.SKIP Try-Tiny-0.06/META.yml Try-Tiny-0.06/SIGNATURE Try-Tiny-0.06/t/ Try-Tiny-0.06/t/basic.t Try-Tiny-0.06/t/finally.t Try-Tiny-0.06/t/given_when.t Try-Tiny-0.06/t/when.t Try-Tiny-0.06/lib/Try/ Try-Tiny-0.06/lib/Try/Tiny.pm CPAN.pm: Going to build N/NU/NUFFIN/Try-Tiny-0.06.tar.gz >>> /home/cpanfly/ap1003/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Try::Tiny >>> make cp lib/Try/Tiny.pm blib/lib/Try/Tiny.pm Manifying blib/man3/Try::Tiny.3 NUFFIN/Try-Tiny-0.06.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/cpanfly/ap1003/bin/perl-static "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t "my" variable $sub masks earlier declaration in same scope at t/basic.t line 85. t/basic.t ....... 1..26 ok 1 - use Try::Tiny; ok 2 - basic try ok 3 - rethrow ok 4 - try block evaluated ok 5 - $@ untouched ok 6 - try block died ok 7 - $@ untouched ok 8 - catch block evaluated ok 9 - $@ untouched ok 10 - scalar context try ok 11 - list context try ok 12 - scalar context catch ok 13 - list context catch ok 14 - Checking catch subroutine scalar reference is correctly blessed ok 15 - Checking finally subroutine scalar reference is correctly blessed ok 16 ok 17 - got here ok 18 - try in try catch block ok 19 - rethrow with try in catch block ok 20 - catch invoked not ok 21 # TODO i don't think we can ever make this work sanely, maybe with SIG{__DIE__} # Failed (TODO) test at t/basic.t line 134. # '' # doesn't match '(?-xism:foo)' ok 22 - $@ untouched ok 23 - $_ untouched ok 24 - previous value of $@ ok 25 - previous value of $@ available for capture ok 26 - previous value of $@ also available in catch block ok t/finally.t ..... 1..8 ok 1 - use Try::Tiny; ok 2 - Moved into finally from try ok 3 - Error text as expected ok 4 - Into catch block as we died in try ok 5 - Moved into finally from catch ok 6 - Error text as expected ok 7 - Moved into finally from catch ok 8 - Moved into finally block when try throws an exception and we have no catch block ok t/given_when.t .. 1..3 ok 1 - use Try::Tiny; ok 2 - error caught not ok 3 - error is also in $_ # TODO perhaps a workaround can be found # Failed (TODO) test 'error is also in $_' # at t/given_when.t line 31. # got: 'foo' # expected: 'blah # ' ok t/when.t ........ 1..6 ok 1 - use Try::Tiny; ok 2 ok 3 - $_ not clobbered ok 4 - bar didn't match ok 5 - foo matched ok 6 - fallback didn't match ok All tests successful. Files=4, Tests=43, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.09 cusr 0.00 csys = 0.11 CPU) Result: PASS NUFFIN/Try-Tiny-0.06.tar.gz make test TEST_VERBOSE=1 -- OK Picked up abstract from lib/Try/Tiny.pm Yuval Kogman <nothingmuch@woobling.org> minimal try/catch with proper localization of $@ >>> (cd /home/cpanfly/var/cpan/build/Try-Tiny-0.06-q9QVJj && tar cvf - Try-Tiny-0.06.ppd blib) | gzip -c >/home/cpanfly/var/REPO/N/NU/NUFFIN/Try-Tiny-0.06.tar.gz Try-Tiny-0.06.ppd blib/ blib/lib/ blib/lib/Try/ blib/lib/Try/Tiny.pm blib/man3/ blib/man3/Try::Tiny.3 >>> mv /home/cpanfly/var/cpan/build/Try-Tiny-0.06-q9QVJj/Try-Tiny-0.06.ppd /home/cpanfly/var/REPO/N/NU/NUFFIN Finished 2010-05-27T18:06:11