# running Build.PL /Users/cpanrun/build/5.10.0/bin/perl Build.PL Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'IO-File-CompressOnClose' version '0.11' Unknown 'build_class', defaulting to 'Module::Build' /Users/cpanrun/build/5.10.0/bin/perl Build --makefile_env_macros 1 Copying lib/IO/File/CompressOnClose/Zip.pm -> blib/lib/IO/File/CompressOnClose/Zip.pm Copying lib/IO/File/CompressOnClose.pm -> blib/lib/IO/File/CompressOnClose.pm Copying lib/IO/File/CompressOnClose/Gzip.pm -> blib/lib/IO/File/CompressOnClose/Gzip.pm Manifying blib/lib/IO/File/CompressOnClose/Gzip.pm -> blib/libdoc/IO::File::CompressOnClose::Gzip.3 Manifying blib/lib/IO/File/CompressOnClose/Zip.pm -> blib/libdoc/IO::File::CompressOnClose::Zip.3 Manifying blib/lib/IO/File/CompressOnClose.pm -> blib/libdoc/IO::File::CompressOnClose.3 HTMLifying blib/lib/IO/File/CompressOnClose/Gzip.pm -> blib/libhtml/site/lib/IO/File/CompressOnClose/Gzip.html HTMLifying blib/lib/IO/File/CompressOnClose/Zip.pm -> blib/libhtml/site/lib/IO/File/CompressOnClose/Zip.html HTMLifying blib/lib/IO/File/CompressOnClose.pm -> blib/libhtml/site/lib/IO/File/CompressOnClose.html /Users/cpanrun/build/5.10.0/bin/perl Build --makefile_env_macros 1 test t/01_use......................1..4 ok 1 - use IO::File::CompressOnClose; ok 2 - create an instance ok 3 - The object isa IO::File::CompressOnClose ok 4 - use IO::File::CompressOnClose::Gzip; ok t/02_basic....................1..2 ok 1 - use IO::File::CompressOnClose; ok 2 - open/print/close a file ok t/03_pod......................1..3 ok 1 - blib/lib/IO/File/CompressOnClose.pm ok 2 - blib/lib/IO/File/CompressOnClose/Gzip.pm ok 3 - blib/lib/IO/File/CompressOnClose/Zip.pm ok t/04_accessors................1..35 ok 1 - use IO::File::CompressOnClose; ok 2 - create a regular file ok 3 - regular file has a non-zero size ok 4 - open a file for read ok 5 - The object isa IO::File::CompressOnClose ok 6 - filename accessor works ok 7 - compress_to not defined ok 8 - set compress_to attribute ok 9 - compress_to defined ok 10 - compress_on_close not set ok 11 - set compress_on_close attribute ok 12 - compress_on_close set ok 13 - set compress_on_close attribute ok 14 - compress_on_close not set ok 15 - set compress_on_close attribute ok 16 - compress_on_close set ok 17 - set compress_on_close attribute ok 18 - delete_after_compress not set ok 19 - clear delete_after_compress attribute ok 20 - delete_after_compress set ok 21 - set delete_after_compress attribute ok 22 - delete_after_compress not set ok 23 - set delete_after_compress attribute ok 24 - compressed not set ok 25 - set compressed attribute ok 26 - compressed set ok 27 - set compressed attribute ok 28 - compressed not set ok 29 - set compressed attribute ok 30 - compressed set ok 31 - compressor set ok 32 - set compressor to a class ok 33 - compressor set to Foo::Bar ok 34 - set compressor to a coderef ok 35 ok t/05_modes....................1..46 ok 1 - use IO::File::CompressOnClose; ok 2 - create a regular file ok 3 - regular file has a non-zero size ok 4 - create an object for read ok 5 - The object isa IO::File::CompressOnClose ok 6 - will not compress a file opened for read ok 7 - create an object for read ok 8 - The object isa IO::File::CompressOnClose ok 9 - will not compress a file opened for read ok 10 - create an object for append ok 11 - The object isa IO::File::CompressOnClose ok 12 - will compress a file opened for append ok 13 - set compress to for file opened for append ok 14 - close file opened for append ok 15 - file 'foo' does not exist ok 16 - file 'foo.archive' exists ok 17 - file 'foo.archive' has non-zero size ok 18 - create an object for write ok 19 - will compress a file opened for write ok 20 - set compress to for file opened for write ok 21 - close file opened for write ok 22 - file 'foo' does not exist ok 23 - file 'foo.archive2' exists ok 24 - file 'foo.archive2' has non-zero size ok 25 - create a regular file ok 26 - regular file has a non-zero size ok 27 - create an object for read ok 28 - The object isa IO::File::CompressOnClose ok 29 - will not compress a file opened for read ok 30 - create an object for append ok 31 - The object isa IO::File::CompressOnClose ok 32 - will compress a file opened for append ok 33 - set compress to for file opened for append ok 34 - close file opened for append ok 35 - file 'foo' does not exist ok 36 - file 'foo.archive' exists ok 37 - file 'foo.archive' has non-zero size ok 38 - create an object for write ok 39 - will compress a file opened for write ok 40 - set compress to for file opened for write ok 41 - close file opened for write ok 42 - file 'foo' does not exist ok 43 - file 'foo.archive2' exists ok 44 - file 'foo.archive2' has non-zero size ok 45 - open with numeric mode ok 46 - open with layers ok t/06_gzip.....................1..7 ok 1 - use IO::File::CompressOnClose::Gzip; ok 2 - open file for write ok 3 - file 'foo' does not exist ok 4 - file 'foo.gz' exists ok 5 - file 'foo.gz' has non-zero size ok 6 - open archive as gzip file ok 7 - contents of archive match ok t/07_zip......................1..13 ok 1 - use IO::File::CompressOnClose::Zip; ok 2 - open file for write ok 3 - file 'foo' does not exist ok 4 - file 'foo.zip' exists ok 5 - file 'foo.zip' has non-zero size ok 6 - open archive as zip file ok 7 - contents of archive match ok 8 - open file for write ok 9 - file 'bar' does not exist ok 10 - file 'bar.zip' exists ok 11 - file 'bar.zip' has non-zero size ok 12 - open archive as zip file ok 13 - contents of archive match ok t/08_coderef..................1..7 ok 1 - use IO::File::CompressOnClose; ok 2 - open file for write ok 3 - file 'foo' does not exist ok 4 - file 'foo.reverse' exists ok 5 - file 'foo.reverse' has non-zero size ok 6 - open archive as a plain file ok 7 - contents of file match ok t/09_delete_after_compress....ok 1 - use IO::File::CompressOnClose; ok 2 - create an object for write ok 3 - will compress a file opened for write ok 4 - set compress to for file opened for write ok 5 - close file opened for write ok 6 - file 'foo' does not exist ok 7 - file 'foo.archive' exists ok 8 - file 'foo.archive' has non-zero size ok 9 - create an object for write ok 10 - will compress a file opened for write ok 11 - set compress to for file opened for write ok 12 - turn off deletion after compression ok 13 - will not delete original file ok 14 - close file opened for write ok 15 - file 'foo' still exists ok 16 - file 'foo.archive2' exists ok 17 - file 'foo.archive2' has non-zero size 1..17 ok t/10_subclass.................1..7 ok 1 - use IO::File::CompressOnClose; ok 2 - open file for write ok 3 - set compressor to usable subclass ok 4 - open file for write ok 5 - set compressor to non-subclass of IO::File::CompressOnClose ok 6 - open file for write ok 7 - set compressor to class without a compress method ok t/11_esoteric.................1..5 ok 1 - use IO::File::CompressOnClose; ok 2 - open '>&1 ok 3 - open '+> ok 4 - open '|/Users/cpanrun/build/5.10.0/bin/perl -e exit ok 5 - open '/Users/cpanrun/build/5.10.0/bin/perl -e exit| ok All tests successful. Files=11, Tests=146, 4 wallclock secs ( 2.14 cusr + 0.84 csys = 2.98 CPU) /Users/cpanrun/build/5.10.0/bin/perl Build --makefile_env_macros 1 install Installing /Users/cpanrun/build/5.10.0/site/lib/IO/File/CompressOnClose.pm Installing /Users/cpanrun/build/5.10.0/site/lib/IO/File/CompressOnClose/Gzip.pm Installing /Users/cpanrun/build/5.10.0/site/lib/IO/File/CompressOnClose/Zip.pm Installing /Users/cpanrun/build/5.10.0/site/man/man3/IO::File::CompressOnClose.3 Installing /Users/cpanrun/build/5.10.0/site/man/man3/IO::File::CompressOnClose::Gzip.3 Installing /Users/cpanrun/build/5.10.0/site/man/man3/IO::File::CompressOnClose::Zip.3 Installing /Users/cpanrun/build/5.10.0/html/site/lib/IO/File/CompressOnClose.html Installing /Users/cpanrun/build/5.10.0/html/site/lib/IO/File/CompressOnClose/Gzip.html Installing /Users/cpanrun/build/5.10.0/html/site/lib/IO/File/CompressOnClose/Zip.html Writing /Users/cpanrun/build/5.10.0/site/lib/auto/IO/File/CompressOnClose/.packlist