NAME

Acme::Archive::Mbox::File - Archive::Mbox file

VERSION

Version 0.01

SYNOPSIS

No user-servicable parts inside.

    use Acme::Archive::Mbox::File;

    my $file = Acme::Archive::Mbox->new(name => 'file/name', contents => $contents, ...);

FUNCTIONS

new

Create an Acme::Archive::Mbox::File object.

name

Returns the name of the file.

contents

Returns the contents of the file.

mode

Returns the mode of the file.

uid

Returns the owner's uid.

gid

Returns the gid of the group which owns the file.

mtime

Returns the mtime of the file as a unix timestamp.

AUTHOR

Ian Kilgore, <iank at cpan.org>

BUGS

This module is pretty much a hash. Don't expect it to be very robust.

NOTES

No special precaution is made against storing files with absolute paths or directory traversals in their names; this is up to the extraction tool.

COPYRIGHT & LICENSE

Copyright 2008 Ian Kilgore, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.