CPAN-Magic-Mirror is a project mainly written in Perl, it's free.
Catalyst Web Application to manage and control a local CPAN mirror
Magic Mirror is a "managed" mirror of CPAN, enabling you to track upstream releases, bugs and changes and add your own modules to the mirror easily.
INSTALLATION
To install this module type the following:
perl Makefile.PL make make test make install
DEPENDENCIES
This module requires these other modules and libraries:
Catalyst CPANPLUS
COPYRIGHT AND LICENCE
Copyright (C) 2010 by Aaron Trevena
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.