NAME

CPAN::Local::Distribution - Base distribution class

VERSION

version 0.010

ATTRIBUTES

filename

The distribution filename, e.g. Foo-Bar-0.001.tar.gz. Can (and often will) contain the full path to the distribution (e.g. /path/to/distros/Foo-Bar-0.001.tar.gz), but the last part must always be a valid distribution filename. Required.

authorid

The id (a.k.a. CPAN id) of the distribution author. If not supplied, but "filename" is recognized as a full path that contains the authorid, it will be extracted from there.

path

Distribution path relative to the repository root, e.g. authors/id/F/FO/FOOBAR/Foo-Bar-0.001.tar.gz. Normally does not need to be supplied and will be calculated from the "filename" and "authorid".

AUTHOR

Peter Shangov <pshangov@yahoo.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Venda, Inc..

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