Archive::Rar 1.9 review

Download
by rbytes.net on

Archive::Rar is a interface with the 'rar' command. SYNOPSIS use Archive::Rar; my $rar =new Archive::Rar(); $rar->Add(

License: Perl Artistic License
File size: 7K
Developer: Jean-Marc Boulade
0 stars award from rbytes.net

Archive::Rar is a interface with the 'rar' command.

SYNOPSIS

use Archive::Rar;
my $rar =new Archive::Rar();
$rar->Add(
-size => $size_of_parts,
-archive => $archive_filename,
-files => @list_of_files,
);

This is a module for the handling of rar archives.

Locates the rar command (from PATH or from regedit for Win32) and encapsulate it to create, extract and list rar archives.

At the moment these methods are implemented:

new()

Returns a new Rar object. You can pass defaults options.

Add(%options)

Add file to an archive.

Extract(%options)

Extract the contains of an archive.

List(%options)

Fill the 'list' variable of the object whith the index of an archive.

OPTIONS

-archive

Archive filename.

-files

List of files to add. You can use a scalar value or an array reference.

-quiet

No output for the rar command if True.

-sfx

Create self-extracting archive.

-size

Size of the parts in bytes.

-verbose

Level of verbosity.

Requirements:
Perl

Archive::Rar 1.9 search tags