Acme-Archive-Mbox

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

MANIFEST
README
TODO
t/00-load.t
t/archive.t
t/file.t
t/pod-coverage.t
t/pod.t
bin/mboxify
bin/mboxextract
META.yml                                 Module meta-data (added by MakeMaker)

README  view on Meta::CPAN

Acme-Archive-Mbox

Store and retrieve files to/from an mbox (suitable for viewing with a 
mail client, eg mutt).

Mbox format is one message per file, with metadata in the headers and
file contents in an attachment.  Included script[s] create and extract
mbox archives, like tar.

INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test

lib/Acme/Archive/Mbox.pm  view on Meta::CPAN


=cut

our $VERSION = '0.01';


=head1 SYNOPSIS

Uses Mbox as an archive format, like tar or zip but silly.  Creates an mbox
with one message per file or directory.  File contents are stored as an
attachment, metadata goes in mail headers.

    use Acme::Archive::Mbox;

    my $archive = Acme::Archive::Mbox->new();
    $archive->add_file('filename');
    $archive->add_data('file/name', $contents);
    $archive->write('foo.mbox');

    ...

    $archive->read('foo.mbox');
    $archive->extract();

=head1 FUNCTIONS

=head2 new ()

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.480 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )