NAME
Archive::Any::Plugin::Tar - Archive::Any wrapper around Archive::Tar
SYNOPSIS
Do not use this module directly. Instead, use Archive::Any.
PLUGINS
Archive::Any requires that your plugin define three methods, all of which are passed the absolute filename of the file.
- can_handle
-
Plugin->can_handle();
This returns an array of mime types that the plugin can handle.
- files
-
Plugin->files( $file );
This method returns a list of items inside the archive.
- extract
-
Plugin->extract( $file ); Plugin->extract( $file, $directory );
This method extracts the contents of the archive $file to the directory $directory or the current working directory.
AUTHOR
Michael G Schwern <schwern@pobox.com>
SEE ALSO
Archive::Any, Archive::Tar