GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ARCHIVE::SIMPLEEXTRACTOR (3)

.ds Aq ’

NAME

Archive::SimpleExtractor - simple module for extract archives

CONTENTS

VERSION

Version 0.10

SYNOPSIS



    use Archive::SimpleExtractor;

    my $extractor = new Archive::SimpleExtractor;
   
    @res = $extractor->extract(archive => archive.tar.bz2, dir => ./somedir, tree => 1);



METHODS

    new

Returns a new object

    extract



    @res = $extractor->extract(archive => $archive_file, dir => $destination_dir, [tree => 1]);



extract files from archive

Atributes HASH:

archive => ...

path to you archive file

dir => ...

path will be unpacked archive

tree => 1

By default extractor unpacked arhive without subdirectories, but all files have been extracted in source dir. If you want save stucture set this argument.

use_extractor => [file extention]

if archive file have not extentions, your must set this parameter for right select extractor

Returns ARRAY:

$res[0] - success status. If 1 then OK else error

$res[1] - message or error string

    have_extractor

Check extractor

AUTHOR

Sergey Tomoulevitch, <phoinix.public at gmail.com>

BUGS

Please report any bugs or feature requests to bug-archive-simpleextractor at rt.cpan.org, or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Archive-SimpleExtractor>. I will be notified, and then you’ll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.



    perldoc Archive::SimpleExtractor



You can also look for information at:
o RT: CPAN’s request tracker

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Archive-SimpleExtractor>

o AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/Archive-SimpleExtractor>

o CPAN Ratings

<http://cpanratings.perl.org/d/Archive-SimpleExtractor>

o Search CPAN

<http://search.cpan.org/dist/Archive-SimpleExtractor/>

COPYRIGHT & LICENSE

Copyright 2009 Sergey Tomoulevitch.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ARCHIVE::SIMPLEEXTRACTOR (3) 2010-03-01

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.