The CPANPLUS library is an API to the CPAN mirrors and a collection of interactive shells, commandline programs, etc, that use this API.
You can download it from CPAN at http://search.cpan.org/~bingos/CPANPLUS/
Source code repository is available at https://github.com/jib/cpanplus-devel