"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/IO/Compress/RawDeflate.pm" between
IO-Compress-2.092.tar.gz and IO-Compress-2.093.tar.gz

About: IO-Compress is a Perl interface to the zlib compression library (contains Compress-Zlib, IO-Compress-Zlib, IO-Compress-Bzip2, IO-Compress-Base).

RawDeflate.pm  (IO-Compress-2.092):RawDeflate.pm  (IO-Compress-2.093)
package IO::Compress::RawDeflate ; package IO::Compress::RawDeflate ;
# create RFC1951 # create RFC1951
# #
use strict ; use strict ;
use warnings; use warnings;
use bytes; use bytes;
use IO::Compress::Base 2.092 ; use IO::Compress::Base 2.093 ;
use IO::Compress::Base::Common 2.092 qw(:Status ); use IO::Compress::Base::Common 2.093 qw(:Status );
use IO::Compress::Adapter::Deflate 2.092 ; use IO::Compress::Adapter::Deflate 2.093 ;
require Exporter ; require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %DEFLATE_CONSTANTS, %EXPORT_TAGS, $RawDeflateEr ror); our ($VERSION, @ISA, @EXPORT_OK, %DEFLATE_CONSTANTS, %EXPORT_TAGS, $RawDeflateEr ror);
$VERSION = '2.092'; $VERSION = '2.093';
$RawDeflateError = ''; $RawDeflateError = '';
@ISA = qw(IO::Compress::Base Exporter); @ISA = qw(IO::Compress::Base Exporter);
@EXPORT_OK = qw( $RawDeflateError rawdeflate ) ; @EXPORT_OK = qw( $RawDeflateError rawdeflate ) ;
push @EXPORT_OK, @IO::Compress::Adapter::Deflate::EXPORT_OK ; push @EXPORT_OK, @IO::Compress::Adapter::Deflate::EXPORT_OK ;
%EXPORT_TAGS = %IO::Compress::Adapter::Deflate::DEFLATE_CONSTANTS; %EXPORT_TAGS = %IO::Compress::Adapter::Deflate::DEFLATE_CONSTANTS;
{ {
my %seen; my %seen;
skipping to change at line 113 skipping to change at line 113
# my $self = shift ; # my $self = shift ;
# return ''; # return '';
#} #}
sub getExtraParams sub getExtraParams
{ {
my $self = shift ; my $self = shift ;
return getZlibParams(); return getZlibParams();
} }
use IO::Compress::Base::Common 2.092 qw(:Parse); use IO::Compress::Base::Common 2.093 qw(:Parse);
use Compress::Raw::Zlib 2.092 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STR use Compress::Raw::Zlib 2.093 qw(Z_DEFLATED Z_DEFAULT_COMPRESSION Z_DEFAULT_STR
ATEGY); ATEGY);
our %PARAMS = ( our %PARAMS = (
#'method' => [IO::Compress::Base::Common::Parse_unsigned, Z_DEFLA TED], #'method' => [IO::Compress::Base::Common::Parse_unsigned, Z_DEFLA TED],
'level' => [IO::Compress::Base::Common::Parse_signed, Z_DEFAU LT_COMPRESSION], 'level' => [IO::Compress::Base::Common::Parse_signed, Z_DEFAU LT_COMPRESSION],
'strategy' => [IO::Compress::Base::Common::Parse_signed, Z_DEFAU LT_STRATEGY], 'strategy' => [IO::Compress::Base::Common::Parse_signed, Z_DEFAU LT_STRATEGY],
'crc32' => [IO::Compress::Base::Common::Parse_boolean, 0], 'crc32' => [IO::Compress::Base::Common::Parse_boolean, 0],
'adler32' => [IO::Compress::Base::Common::Parse_boolean, 0], 'adler32' => [IO::Compress::Base::Common::Parse_boolean, 0],
'merge' => [IO::Compress::Base::Common::Parse_boolean, 0], 'merge' => [IO::Compress::Base::Common::Parse_boolean, 0],
); );
skipping to change at line 301 skipping to change at line 301
The parameter, C<$input_filename_or_reference>, is used to define the The parameter, C<$input_filename_or_reference>, is used to define the
source of the uncompressed data. source of the uncompressed data.
It can take one of the following forms: It can take one of the following forms:
=over 5 =over 5
=item A filename =item A filename
If the <$input_filename_or_reference> parameter is a simple scalar, it is If the C<$input_filename_or_reference> parameter is a simple scalar, it is
assumed to be a filename. This file will be opened for reading and the assumed to be a filename. This file will be opened for reading and the
input data will be read from it. input data will be read from it.
=item A filehandle =item A filehandle
If the C<$input_filename_or_reference> parameter is a filehandle, the input If the C<$input_filename_or_reference> parameter is a filehandle, the input
data will be read from it. The string '-' can be used as an alias for data will be read from it. The string '-' can be used as an alias for
standard input. standard input.
=item A scalar reference =item A scalar reference
 End of changes. 4 change blocks. 
8 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)