my $archive = Archive::Any->new( $archive_file ); my $archive = Archive::Any->new( $archive_file, $type );
$type is optional. It lets you force the file type in case Archive::Any cant figure it out.
$archive->extract; $archive->extract( $directory );
Extracts the files in the archive to the given $directory. If no $directory is given, it will go into the current working directory.
my @file = $archive->files;
A list of files in the archive.
my $mime_type = $archive->mime_type();
Returns the mime type of the archive.
my $is_impolite = $archive->is_impolite;
Checks to see if this archive is going to unpack into the current directory rather than create its own.
my $is_naughty = $archive->is_naughty;
For detailed information on writing plugins to work with Archive::Any, please see the pod documentation for Archive::Any::Plugin.
You can find documentation for this module with the perldoc command.
You can also look for information at:
o Issue tracker
o Clint Moore o Michael G Schwern (author emeritus) o Olaf Alders (current maintainer)
This software is copyright (c) 2016 by Olaf Alders.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|perl v5.20.3||ARCHIVE::ANY (3)||2016-04-01|