PATH=C:\Program Files\Microsoft Platform SDK\Bin;C:\Program Files\Microsoft Platform SDK\Bin\WinNT;C:\Program Files\Microsoft Visual Studio\VC98\Bin;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Perl-5.8\site\bin;C:\Perl-5.8\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:\mysql\bin Start 2011-08-31T07:25:58 ActivePerl-825 CPAN-1.9402 LIB=C:\PROGRA~1\MICROS~3\VC98\Lib\PSDK;C:\PROGRA~1\MICROS~2\Lib;C:\PROGRA~1\MICROS~3\VC98\Lib;C:\PROGRA~1\MICROS~3\VC98\MFC\Lib INCLUDE=C:\PROGRA~1\MICROS~2\Include;C:\PROGRA~1\MICROS~3\VC98\ATL\Include;C:\PROGRA~1\MICROS~3\VC98\Include;C:\PROGRA~1\MICROS~3\VC98\MFC\Include PATH=C:/CPANFL~1.8/var/libs/bin;C:\PROGRA~1\MICROS~2\Bin;C:\PROGRA~1\MICROS~2\Bin\WinNT;C:\PROGRA~1\MICROS~3\VC98\Bin;C:\PROGRA~1\MICROS~3\Common\MSDev98\Bin;C:\Perl-5.8\site\bin;C:\Perl-5.8\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:\mysql\bin Going to read 'C:\cpanfly-5.8\var\cpan\Metadata' Database was generated on Wed, 31 Aug 2011 13:35:38 GMT Running make for D/DO/DOY/Try-Tiny-0.11.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/D/DO/DOY/Try-Tiny-0.11.tar.gz Fetching with LWP: http://cpan.nas.activestate.com/authors/id/D/DO/DOY/CHECKSUMS Checksum for C:\cpanfly-5.8\var\cpan\sources\authors\id\D\DO\DOY\Try-Tiny-0.11.tar.gz ok Will not use Archive::Tar, need 1.00 Try-Tiny-0.11/ Try-Tiny-0.11/MANIFEST Try-Tiny-0.11/lib/ Try-Tiny-0.11/lib/Try/ Try-Tiny-0.11/lib/Try/Tiny.pm Try-Tiny-0.11/Makefile.PL Try-Tiny-0.11/MANIFEST.SKIP Try-Tiny-0.11/META.yml Try-Tiny-0.11/t/ Try-Tiny-0.11/t/given_when.t Try-Tiny-0.11/t/context.t Try-Tiny-0.11/t/basic.t Try-Tiny-0.11/t/when.t Try-Tiny-0.11/t/finally.t Try-Tiny-0.11/Changes CPAN.pm: Going to build D/DO/DOY/Try-Tiny-0.11.tar.gz >>> C:\Perl-5.8\bin\perl.exe Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Try::Tiny >>> nmake Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. cp lib/Try/Tiny.pm blib\lib\Try\Tiny.pm DOY/Try-Tiny-0.11.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:\Perl-5.8\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t/*.t 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 137. # '' # 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/context.t ..... 1..26 ok 1 - use Try::Tiny; ok 2 - Proper context LIST in try{} ok 3 - Proper VOID context in finally{} 2 ok 4 - Proper VOID context in finally{} 1 ok 5 ok 6 - Proper context LIST in try{} ok 7 - Proper context LIST in catch{} ok 8 - Proper VOID context in finally{} 2 ok 9 - Proper VOID context in finally{} 1 ok 10 ok 11 - Proper context SCALAR in try{} ok 12 - Proper VOID context in finally{} 2 ok 13 - Proper VOID context in finally{} 1 ok 14 ok 15 - Proper context SCALAR in try{} ok 16 - Proper context SCALAR in catch{} ok 17 - Proper VOID context in finally{} 2 ok 18 - Proper VOID context in finally{} 1 ok 19 ok 20 - Proper context VOID in try{} ok 21 - Proper VOID context in finally{} 2 ok 22 - Proper VOID context in finally{} 1 ok 23 - Proper context VOID in try{} ok 24 - Proper context VOID in catch{} ok 25 - Proper VOID context in finally{} 2 ok 26 - Proper VOID context in finally{} 1 ok t/finally.t ..... 1..24 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 9 - Second finally clause run ok 10 - First finally clause run ok 11 - no error reported ok 12 - finally got passed the exception ok 13 - finally called ok 14 - not localized in try ok 15 - nothing in @_ (finally) ok 16 - $_ not localized (finally) ok 17 - same afterwards ok 18 - not localized in try ok 19 - error in @_ (catch) ok 20 - error in $_ (catch) ok 21 - error in @_ (finally) ok 22 - error in @_ (finally) ok 23 - $_ not localized (finally) ok 24 - same afterwards ok t/given_when.t .. skipped: Perl 5.10 is required t/when.t ........ skipped: Perl 5.10 required All tests successful. Files=5, Tests=76, 1 wallclock secs ( 0.05 usr + 0.01 sys = 0.06 CPU) Result: PASS DOY/Try-Tiny-0.11.tar.gz nmake test TEST_VERBOSE=1 -- OK Picked up abstract from lib/Try/Tiny.pm Jesse Luehrs <doy@cpan.org> minimal try/catch with proper localization of $@ >>> (cd C:\cpanfly-5.8\var\cpan\build\Try-Tiny-0.11-FCykDw && tar cvf - Try-Tiny-0.11.ppd blib) | gzip -c >C:/cpanfly-5.8/var/REPO/D/DO/DOY/Try-Tiny-0.11.tar.gz Try-Tiny-0.11.ppd blib/ blib/lib/ blib/lib/Try/ blib/lib/Try/Tiny.pm >>> mv C:\cpanfly-5.8\var\cpan\build\Try-Tiny-0.11-FCykDw/Try-Tiny-0.11.ppd C:/cpanfly-5.8/var/REPO/D/DO/DOY Finished 2011-08-31T07:26:07