"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/IO/Compress/Zip.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).

Zip.pm  (IO-Compress-2.092):Zip.pm  (IO-Compress-2.093)
package IO::Compress::Zip ; package IO::Compress::Zip ;
use strict ; use strict ;
use warnings; use warnings;
use bytes; use bytes;
use IO::Compress::Base::Common 2.092 qw(:Status ); use IO::Compress::Base::Common 2.093 qw(:Status );
use IO::Compress::RawDeflate 2.092 (); use IO::Compress::RawDeflate 2.093 ();
use IO::Compress::Adapter::Deflate 2.092 ; use IO::Compress::Adapter::Deflate 2.093 ;
use IO::Compress::Adapter::Identity 2.092 ; use IO::Compress::Adapter::Identity 2.093 ;
use IO::Compress::Zlib::Extra 2.092 ; use IO::Compress::Zlib::Extra 2.093 ;
use IO::Compress::Zip::Constants 2.092 ; use IO::Compress::Zip::Constants 2.093 ;
use File::Spec(); use File::Spec();
use Config; use Config;
use Compress::Raw::Zlib 2.092 (); use Compress::Raw::Zlib 2.093 ();
BEGIN BEGIN
{ {
eval { require IO::Compress::Adapter::Bzip2 ; eval { require IO::Compress::Adapter::Bzip2 ;
import IO::Compress::Adapter::Bzip2 2.092 ; import IO::Compress::Adapter::Bzip2 2.093 ;
require IO::Compress::Bzip2 ; require IO::Compress::Bzip2 ;
import IO::Compress::Bzip2 2.092 ; import IO::Compress::Bzip2 2.093 ;
} ; } ;
eval { require IO::Compress::Adapter::Lzma ; eval { require IO::Compress::Adapter::Lzma ;
import IO::Compress::Adapter::Lzma 2.092 ; import IO::Compress::Adapter::Lzma 2.093 ;
require IO::Compress::Lzma ; require IO::Compress::Lzma ;
import IO::Compress::Lzma 2.092 ; import IO::Compress::Lzma 2.093 ;
} ; } ;
} }
require Exporter ; require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, %DEFLATE_CONSTANTS, $ZipError); our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, %DEFLATE_CONSTANTS, $ZipError);
$VERSION = '2.092'; $VERSION = '2.093';
$ZipError = ''; $ZipError = '';
@ISA = qw(IO::Compress::RawDeflate Exporter); @ISA = qw(IO::Compress::RawDeflate Exporter);
@EXPORT_OK = qw( $ZipError zip ) ; @EXPORT_OK = qw( $ZipError zip ) ;
%EXPORT_TAGS = %IO::Compress::RawDeflate::DEFLATE_CONSTANTS ; %EXPORT_TAGS = %IO::Compress::RawDeflate::DEFLATE_CONSTANTS ;
push @{ $EXPORT_TAGS{all} }, @EXPORT_OK ; push @{ $EXPORT_TAGS{all} }, @EXPORT_OK ;
$EXPORT_TAGS{zip_method} = [qw( ZIP_CM_STORE ZIP_CM_DEFLATE ZIP_CM_BZIP2 ZIP_CM_ LZMA)]; $EXPORT_TAGS{zip_method} = [qw( ZIP_CM_STORE ZIP_CM_DEFLATE ZIP_CM_BZIP2 ZIP_CM_ LZMA)];
push @{ $EXPORT_TAGS{all} }, @{ $EXPORT_TAGS{zip_method} }; push @{ $EXPORT_TAGS{all} }, @{ $EXPORT_TAGS{zip_method} };
skipping to change at line 962 skipping to change at line 962
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. 8 change blocks. 
13 lines changed or deleted 13 lines changed or added

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