NAME

CPAN::Repository - API to access a directory which can be served as CPAN repository

VERSION

version 0.003

SYNOPSIS

use CPAN::Repository;

my $repo = CPAN::Repository->new({
  dir => '/var/www/greypan.company.org/htdocs/',
  url => 'http://greypan.company.org/',
});

$repo->initialize unless $repo->is_initialized;

$repo->add_author_distribution('AUTHOR','My-Distribution-0.001.tar.gz');
$repo->add_alias('AUTHOR','The Author <author@company.org>');

DESCRIPTION

This module is made for representing a directory which can be used as own CPAN for modules, so it can be a GreyPAN, a DarkPAN or even can be used to manage a mirror of real CPAN your own way. Some code parts are taken from CPAN::Dark of CHROMATIC and CPAN::Mini::Inject of MITHALDU.

SUPPORT

IRC

Join #duckduckgo on irc.freenode.net. Highlight Getty for fast reaction :).

Repository

http://github.com/Getty/p5-cpan-repository
Pull request and additional contributors are welcome

Issue Tracker

http://github.com/Getty/p5-cpan-repository/issues

1;

AUTHOR

Torsten Raudssus <torsten@raudss.us> http://raudss.us/

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by DuckDuckGo, Inc. http://duckduckgo.com/.

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