If you were trying to install Perl-Moose on your server then there is chance that you have got any of these errors,
No package perl-Moose available
or
No package perl(Moose) available
This often comes, when you are trying to install Moose from yum by using,
yum install perl-Moose
or
yum install 'perl(Moose)'
If this happens, then you can still try to install perl-moose using CPAN command,
perl -MCPAN -e"install Moose"
If this doesn’t work for you then you will need to install Moose from tar package. To fix this and get back to what you were doing proceed as below,
Install Perl, required Compiler and Tools
yum install gcc
yum install 'perl(Digest::HMAC)'
yum install 'perl(Module::Build)'
For Debian server, you can use below command. Rest will be same,
apt-get install build-essential
Pull Moose Perl package, Unzip and Install it
Note: For latest perl-Moose package you can refer to, http://search.cpan.org/dist/Moose/
Issue below commands one by one from shell,
http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Moose-2.1604.tar.gz
tar xzvvf Moose*
cd Moose*
perl Makefile.PL
make install
And you should be good to go as this should now completely install Perl-Moose on your server.
Image courtesy: Book cover from book of Dave Rolsky, Stevan Little.