Archive::TarGzip 0.03
Sponsored Links
Archive::TarGzip 0.03 Ranking & Summary
File size:
0.094 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
991
Date added:
2007-02-13
Publisher:
Software Diamonds
Archive::TarGzip 0.03 description
Archive::TarGzip is a Perl module to save and restore files to and from compressed tape archives (tar).
SYNOPSIS
######
# Subroutine Interface
#
use Archive::TarGzip qw(parse_header tar untar);
$tar_file = tar(@file, @options);
$tar_file = tar(@file);
$success = untar(@file);
$success = untar(@file, @options);
%tar_header = parse_header($buffer);
######
# File subroutines
#
use Archive::TarGzip;
tie *TAR_FILEHANDLE, Tie::Layers
tie *TAR_FILEHANDLE, Tie::Layers, @options
$success = open(TAR_FILEHANDLE, $tar_file);
$success = open(TAR_FILEHANDLE, $mode, $tar_file);
$success = print TAR_FILEHANDLE $file_name;
$success = print TAR_FILEHANDLE $file_name, $file_contents;
%tar_header =
;
$success = close(TAR_FILEHANDLE);
######
# Object
#
tie *TAR_FILEHANDLE, Tie::Layers;
tie *TAR_FILEHANDLE, Tie::Layers, @options;
$tar = tied *TAR_FILEHANDLE;
$tar = new Archive::TarGzip( );
$tar = new Archive::TarGzip(@options);
$success = $tar->OPEN( $tar_file, @options);
$success = $tar->OPEN( $mode, $tar_file, @options);
$success = $tar->PRINT($file_name);
$success = $tar->PRINT($file_name, $file_contents);
%tar_header = $tar->READLINE(@options);
%tar_header = $tar->READLINE(@file, @options);
$status = $tar->target( $buffer, $size);
$success = $tar->CLOSE();
The Archive::TarGzip module provides tar subroutine to archive a list of files in an archive file in the tar format. The archive file may be optionally compressed using the gzip compression routines. The Archive::TarGzip module also provides a untar subroutine that can extract the files from the tar or tar/gzip archive files. The tar and untar top level subroutines use methods from the Archive::TarGzip class.
The Archive::TarGzip class has many similarities to the very mature Archive::Tar class being at least three years older. The newer Archive::TarGzip relied very heavy on the work of the author of the Archive::Tar and in many instance the Archive::Tar is a better solution.
Altough the underlying tar file format is the same and similar code is used to access the data in the underlying tar files, the interace bewteen the two are completely different. The Archive::TarGzip is built on a Tie File Handle type interface. The nthe Archive::TarGzip provide means to access individual files within the archive file without bringing the entire archive file into memory. When the gzip compression option is active, the compression is performed on the fly without creating an intermediate uncompressed tar file.
SYNOPSIS
######
# Subroutine Interface
#
use Archive::TarGzip qw(parse_header tar untar);
$tar_file = tar(@file, @options);
$tar_file = tar(@file);
$success = untar(@file);
$success = untar(@file, @options);
%tar_header = parse_header($buffer);
######
# File subroutines
#
use Archive::TarGzip;
tie *TAR_FILEHANDLE, Tie::Layers
tie *TAR_FILEHANDLE, Tie::Layers, @options
$success = open(TAR_FILEHANDLE, $tar_file);
$success = open(TAR_FILEHANDLE, $mode, $tar_file);
$success = print TAR_FILEHANDLE $file_name;
$success = print TAR_FILEHANDLE $file_name, $file_contents;
%tar_header =
$success = close(TAR_FILEHANDLE);
######
# Object
#
tie *TAR_FILEHANDLE, Tie::Layers;
tie *TAR_FILEHANDLE, Tie::Layers, @options;
$tar = tied *TAR_FILEHANDLE;
$tar = new Archive::TarGzip( );
$tar = new Archive::TarGzip(@options);
$success = $tar->OPEN( $tar_file, @options);
$success = $tar->OPEN( $mode, $tar_file, @options);
$success = $tar->PRINT($file_name);
$success = $tar->PRINT($file_name, $file_contents);
%tar_header = $tar->READLINE(@options);
%tar_header = $tar->READLINE(@file, @options);
$status = $tar->target( $buffer, $size);
$success = $tar->CLOSE();
The Archive::TarGzip module provides tar subroutine to archive a list of files in an archive file in the tar format. The archive file may be optionally compressed using the gzip compression routines. The Archive::TarGzip module also provides a untar subroutine that can extract the files from the tar or tar/gzip archive files. The tar and untar top level subroutines use methods from the Archive::TarGzip class.
The Archive::TarGzip class has many similarities to the very mature Archive::Tar class being at least three years older. The newer Archive::TarGzip relied very heavy on the work of the author of the Archive::Tar and in many instance the Archive::Tar is a better solution.
Altough the underlying tar file format is the same and similar code is used to access the data in the underlying tar files, the interace bewteen the two are completely different. The Archive::TarGzip is built on a Tie File Handle type interface. The nthe Archive::TarGzip provide means to access individual files within the archive file without bringing the entire archive file into memory. When the gzip compression option is active, the compression is performed on the fly without creating an intermediate uncompressed tar file.
Archive::TarGzip 0.03 Screenshot
Archive::TarGzip 0.03 Keywords
TarGzip
TAR
FILEHANDLE
TarGzip 0.03
to and from
tape archives
to save
restore files
Perl module
compressed tape
Archive file
file
success
options
files
module
Bookmark Archive::TarGzip 0.03
Archive::TarGzip 0.03 Copyright
WareSeeker periodically updates pricing and software information of Archive::TarGzip 0.03 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Archive::TarGzip 0.03 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Archive::Rar is a interface with the rar command. Free Download
SWIFT::Factory::BasicHeader is a Perl module that provides a Basic Header Block (Block 1) for a SWIFT message. Free Download
XML::Writer::Simple is a Perl module to create XML files easily! Free Download
PAR::WebStart::PNLP is a Perl module that can parse pnlp files. Free Download
Asterisk::LDAP is a perl module for generating Asterisk 1.0 compatible configuration files from an LDAP directory tree. Free Download
Module::Starter::PBP is a Perl module to create a module as recommended in "Perl Best Practices". Free Download
FLV::Info is an extract metadata from Flash Video files. Free Download
Dir::Which is a Perl module to search for directory entries in a list of directories. Free Download
Latest Software
Popular Software
Favourite Software