Skip to content

PerlAlien/Alien-7zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Alien::7zip - Find or build 7-Zip

SYNOPSIS

Command line tool:

use Alien::7zip;
use Env qw( @PATH );

unshift @PATH, Alien::7zip->bin_dir;
system "@{[ Alien::7zip->exe ]}";

DESCRIPTION

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.

METHODS

exe

Alien::7zip->exe

Returns the command name for running 7-Zip.

HELPERS

sevenzip

%{sevenzip}

Returns '7z', '7zz', or appropriate command for platform.

SEE ALSO