Archive::Builder 1.06
|
|||||||||||||||||||
Archive::Builder is a file generation and archiving framework.
SYNOPSIS
# Make a builder with one section, and some files
my $Builder = Archive::Builder->new;
my $Section = $Builder->new_section( 'html' );
$Section->add_file( 'one.html', 'string', qq~
Hello World!
~ );
$Section->add_file( 'two.html', 'file', './source/file.html' );
$Section->add_file( 'three.html', 'Custom::function', @args );
# Generate and save to disk
$Builder->save( './somewhere' );
# Create an zip file from it and save it.
my $Archive = $Builder->archive( 'zip' ).
$Archive->save( 'foo.zip' );
# Create a tar.gz file of just one section
my $Tar = $Section->archive( 'tar.gz' );
Perl is often used for applications that generate large numbers of files, and Archive::Builder is designed to assist in these sorts of tasks.
It provides a framework for defining a set of files, and how they will be generated, and a series of methods for turning them into an Archive of varying types, or saving directly to disk.
Requirements:
tags
Download Archive::Builder 1.06
Authors software
|
|
Similar software
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other software in this category
|
|
|
|
|
|
|
|
|
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell
- Communications
- Database
- Desktop Environment
- Games
- Internet
- Multimedia
- Office
- Programming
- Science and Engineering
- System
- Text Editing&Processing
