CPAN force install memcached
Posted in Technical on September 8th, 2010 by iyoung – 3 CommentsStrangely the Perl module Cache::Memcached won’t install cleanly without the machine it’s being installed on having a running instance of memcached. I wanted to install the module on a webserver and intended to have memcached running on a database load balancer so didn’t want it installed and running on the webserver.
So you have to force an install with [code]perl -MCPAN -e "CPAN::Shell->force(qw(install Cache::Memcached));"[/code]
Just thought I would put it up incase anyone else wanted to force install with CPAN.