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


Acme-Archive-Mbox documentation  | view source Contained in the Acme-Archive-Mbox distribution.

Index


NAME

Top

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

VERSION

Top

Version 0.01

SYNOPSIS

Top

No user-servicable parts inside.

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

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

FUNCTIONS

Top

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

Top

Ian Kilgore, <iank at cpan.org>

BUGS

Top

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

NOTES

Top

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

Top


Acme-Archive-Mbox documentation  | view source Contained in the Acme-Archive-Mbox distribution.