diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2012-11-10 23:57:07 +0000 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2012-11-11 00:18:54 +0000 |
commit | be0289ac5c2b662422f64a227eaf31bc406df15c (patch) | |
tree | 8bb297a4e890bb4a56f9da423e8be68d4498532e /cpan/IO-Compress/lib/IO/Compress/Deflate.pm | |
parent | 14c0f22a0f8ffd6e3f345a58a7f0022484e138ac (diff) | |
download | perl-be0289ac5c2b662422f64a227eaf31bc406df15c.tar.gz |
Update IO-Compress to CPAN version 2.057
[DELTA]
2.057 10 November 2012
* IO::Compress::Zip
Allow member name & Zip Comment to be "0"
* IO::Compress::Base::Common
Remove "-r" test - the file open will catch this.
RT# 80855: IO::Compress::Base::Common returns that it cannot read readable files in NFS
* RT# 79820: Install to 'site' instead of 'perl' when perl version is 5.11+
* General Performance improvements.
Diffstat (limited to 'cpan/IO-Compress/lib/IO/Compress/Deflate.pm')
-rw-r--r-- | cpan/IO-Compress/lib/IO/Compress/Deflate.pm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpan/IO-Compress/lib/IO/Compress/Deflate.pm b/cpan/IO-Compress/lib/IO/Compress/Deflate.pm index 825d2ded73..e169b192f8 100644 --- a/cpan/IO-Compress/lib/IO/Compress/Deflate.pm +++ b/cpan/IO-Compress/lib/IO/Compress/Deflate.pm @@ -8,16 +8,16 @@ use bytes; require Exporter ; -use IO::Compress::RawDeflate 2.055 (); -use IO::Compress::Adapter::Deflate 2.055 ; +use IO::Compress::RawDeflate 2.057 (); +use IO::Compress::Adapter::Deflate 2.057 ; -use IO::Compress::Zlib::Constants 2.055 ; -use IO::Compress::Base::Common 2.055 qw(createSelfTiedObject); +use IO::Compress::Zlib::Constants 2.057 ; +use IO::Compress::Base::Common 2.057 qw(); our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, %DEFLATE_CONSTANTS, $DeflateError); -$VERSION = '2.055'; +$VERSION = '2.057'; $DeflateError = ''; @ISA = qw(Exporter IO::Compress::RawDeflate); @@ -32,13 +32,13 @@ sub new { my $class = shift ; - my $obj = createSelfTiedObject($class, \$DeflateError); + my $obj = IO::Compress::Base::Common::createSelfTiedObject($class, \$DeflateError); return $obj->_create(undef, @_); } sub deflate { - my $obj = createSelfTiedObject(undef, \$DeflateError); + my $obj = IO::Compress::Base::Common::createSelfTiedObject(undef, \$DeflateError); return $obj->_def(@_); } @@ -85,8 +85,8 @@ sub mkHeader my $self = shift ; my $param = shift ; - my $level = $param->value('Level'); - my $strategy = $param->value('Strategy'); + my $level = $param->getValue('level'); + my $strategy = $param->getValue('strategy'); my $lflag ; $level = 6 @@ -119,7 +119,7 @@ sub ckParams my $self = shift ; my $got = shift; - $got->value('ADLER32' => 1); + $got->setValue('adler32' => 1); return 1 ; } |