Archive::Rar - Interface with the 'rar' command


NAME

Archive::Rar - Interface with the 'rar' command


SUPPORTED PLATFORMS


SYNOPSIS

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


DESCRIPTION

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.


KNOWN BUGS


AUTHORS

jean-marc boulade <jmbperl@hotmail.com>


COPYRIGHT

Copyright (c) 2002 jean-marc boulade. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

 Archive::Rar - Interface with the 'rar' command