NAME
Footprintless::Extract - Extracts data from archives
VERSION
version 1.12
DESCRIPTION
Provides a built in library for extracting data from archives. It presents an interface compatible with Archive::Extract
for the functions used by Footprintless
.
CONSTRUCTORS
new(archive => $archive, %options)
Constructs a new instance. Note that archive =
$archive> is REQUIRED in order to provide a interface compatible with Archive::Extract
. The available options are:
- type
-
The type of archive. The supported types are
tar
,tgz
, andzip
. If not provided, the file extension will be used to determine the type.
METHODS
extract(%options)
Returns a truthy value if $hostname
is an alias for localhost.
- to
-
The destination directory to extract into. If not supplied,
Cwd::getcwd
will be used.
AUTHOR
Lucas Theisen <lucastheisen@pastdev.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Lucas Theisen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
SEE ALSO
Please see those modules/websites for more information related to this module.