summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/IO/Uncompress/AnyUncompress.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl/lib/IO/Uncompress/AnyUncompress.pm')
-rw-r--r--Master/tlpkg/tlperl/lib/IO/Uncompress/AnyUncompress.pm67
1 files changed, 39 insertions, 28 deletions
diff --git a/Master/tlpkg/tlperl/lib/IO/Uncompress/AnyUncompress.pm b/Master/tlpkg/tlperl/lib/IO/Uncompress/AnyUncompress.pm
index c6dfce536b4..251b7cf2632 100644
--- a/Master/tlpkg/tlperl/lib/IO/Uncompress/AnyUncompress.pm
+++ b/Master/tlpkg/tlperl/lib/IO/Uncompress/AnyUncompress.pm
@@ -4,16 +4,16 @@ use strict;
use warnings;
use bytes;
-use IO::Compress::Base::Common 2.084 ();
+use IO::Compress::Base::Common 2.093 ();
-use IO::Uncompress::Base 2.084 ;
+use IO::Uncompress::Base 2.093 ;
require Exporter ;
our ($VERSION, @ISA, @EXPORT_OK, %EXPORT_TAGS, $AnyUncompressError);
-$VERSION = '2.084';
+$VERSION = '2.093';
$AnyUncompressError = '';
@ISA = qw(IO::Uncompress::Base Exporter);
@@ -29,26 +29,30 @@ BEGIN
{
local @INC = @INC;
pop @INC if $INC[-1] eq '.';
- eval ' use IO::Uncompress::Adapter::Inflate 2.084 ;';
- eval ' use IO::Uncompress::Adapter::Bunzip2 2.084 ;';
- eval ' use IO::Uncompress::Adapter::LZO 2.084 ;';
- eval ' use IO::Uncompress::Adapter::Lzf 2.084 ;';
- eval ' use IO::Uncompress::Adapter::UnLzma 2.084 ;';
- eval ' use IO::Uncompress::Adapter::UnXz 2.084 ;';
+
+ # Don't trigger any __DIE__ Hooks.
+ local $SIG{__DIE__};
+
+ eval ' use IO::Uncompress::Adapter::Inflate 2.093 ;';
+ eval ' use IO::Uncompress::Adapter::Bunzip2 2.093 ;';
+ eval ' use IO::Uncompress::Adapter::LZO 2.093 ;';
+ eval ' use IO::Uncompress::Adapter::Lzf 2.093 ;';
+ eval ' use IO::Uncompress::Adapter::UnLzma 2.093 ;';
+ eval ' use IO::Uncompress::Adapter::UnXz 2.093 ;';
eval ' use IO::Uncompress::Adapter::UnZstd 2.083 ;';
- eval ' use IO::Uncompress::Adapter::UnLzip 2.084 ;';
-
- eval ' use IO::Uncompress::Bunzip2 2.084 ;';
- eval ' use IO::Uncompress::UnLzop 2.084 ;';
- eval ' use IO::Uncompress::Gunzip 2.084 ;';
- eval ' use IO::Uncompress::Inflate 2.084 ;';
- eval ' use IO::Uncompress::RawInflate 2.084 ;';
- eval ' use IO::Uncompress::Unzip 2.084 ;';
- eval ' use IO::Uncompress::UnLzf 2.084 ;';
- eval ' use IO::Uncompress::UnLzma 2.084 ;';
- eval ' use IO::Uncompress::UnXz 2.084 ;';
- eval ' use IO::Uncompress::UnZstd 2.084 ;';
- eval ' use IO::Uncompress::UnLzip 2.084 ;';
+ eval ' use IO::Uncompress::Adapter::UnLzip 2.093 ;';
+
+ eval ' use IO::Uncompress::Bunzip2 2.093 ;';
+ eval ' use IO::Uncompress::UnLzop 2.093 ;';
+ eval ' use IO::Uncompress::Gunzip 2.093 ;';
+ eval ' use IO::Uncompress::Inflate 2.093 ;';
+ eval ' use IO::Uncompress::RawInflate 2.093 ;';
+ eval ' use IO::Uncompress::Unzip 2.093 ;';
+ eval ' use IO::Uncompress::UnLzf 2.093 ;';
+ eval ' use IO::Uncompress::UnLzma 2.093 ;';
+ eval ' use IO::Uncompress::UnXz 2.093 ;';
+ eval ' use IO::Uncompress::UnZstd 2.093 ;';
+ eval ' use IO::Uncompress::UnLzip 2.093 ;';
}
@@ -266,7 +270,7 @@ __END__
=head1 NAME
-IO::Uncompress::AnyUncompress - Uncompress gzip, zip, bzip2 or lzop file/buffer
+IO::Uncompress::AnyUncompress - Uncompress gzip, zip, bzip2, xz, lzma, lzip, lzf or lzop file/buffer
=head1 SYNOPSIS
@@ -363,7 +367,8 @@ The functional interface needs Perl5.005 or better.
=head2 anyuncompress $input_filename_or_reference => $output_filename_or_reference [, OPTS]
C<anyuncompress> expects at least two parameters,
-C<$input_filename_or_reference> and C<$output_filename_or_reference>.
+C<$input_filename_or_reference> and C<$output_filename_or_reference>
+and zero or more optional parameters (see L</Optional Parameters>)
=head3 The C<$input_filename_or_reference> parameter
@@ -376,7 +381,7 @@ It can take one of the following forms:
=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
input data will be read from it.
@@ -473,9 +478,9 @@ files/buffers.
=head2 Optional Parameters
-Unless specified below, the optional parameters for C<anyuncompress>,
-C<OPTS>, are the same as those used with the OO interface defined in the
-L</"Constructor Options"> section below.
+The optional parameters for the one-shot function C<anyuncompress>
+are (for the most part) identical to those used with the OO interface defined in the
+L</"Constructor Options"> section. The exceptions are listed below
=over 5
@@ -1044,6 +1049,12 @@ Same as doing this
=head1 EXAMPLES
+=head1 SUPPORT
+
+General feedback/questions/bug reports should be sent to
+L<https://github.com/pmqs/IO-Compress/issues> (preferred) or
+L<https://rt.cpan.org/Public/Dist/Display.html?Name=IO-Compress>.
+
=head1 SEE ALSO
L<Compress::Zlib>, L<IO::Compress::Gzip>, L<IO::Uncompress::Gunzip>, L<IO::Compress::Deflate>, L<IO::Uncompress::Inflate>, L<IO::Compress::RawDeflate>, L<IO::Uncompress::RawInflate>, L<IO::Compress::Bzip2>, L<IO::Uncompress::Bunzip2>, L<IO::Compress::Lzma>, L<IO::Uncompress::UnLzma>, L<IO::Compress::Xz>, L<IO::Uncompress::UnXz>, L<IO::Compress::Lzip>, L<IO::Uncompress::UnLzip>, L<IO::Compress::Lzop>, L<IO::Uncompress::UnLzop>, L<IO::Compress::Lzf>, L<IO::Uncompress::UnLzf>, L<IO::Compress::Zstd>, L<IO::Uncompress::UnZstd>, L<IO::Uncompress::AnyInflate>