There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

INSTALLATION

These are the installation instructions for MIME::Detect.

The module releases are hosted on CPAN. The module can be installed:

latest release from CPAN
cpan MIME::Detect

or

cpanm MIME::Detect
directly, as the latest development files
cpanm git://github.com/Corion/mime-detect.git
manually cloninig the repository:
git clone git://github.com/Corion/mime-detect.git
cd MIME_Detect
perl Makefile.PL
make
make test
make install