Alien::7zip - Find or build 7-Zip
Command line tool:
use Alien::7zip;
use Env qw( @PATH );
unshift @PATH, Alien::7zip->bin_dir;
system "@{[ Alien::7zip->exe ]}";
This distribution provides 7-Zip so that it can be used by other Perl distributions that are on CPAN. It does this by first trying to detect an existing install of 7-Zip on your system. If found it will use that. If it cannot be found, the source code will be downloaded from the internet and it will be installed in a private share location for the use of other modules.
Alien::7zip->exe
Returns the command name for running 7-Zip.
%{sevenzip}
Returns '7z', '7zz', or appropriate command for platform.
-
The 7-Zip home page.
-
Documentation on the Alien concept itself.
-
The base class for this Alien.
-
Alien::Build::Manual::AlienUser
Detailed manual for users of Alien classes.