I'm trying to install cpanm in /usr/bin (using the normal wget -O- http://cpanmin.us | /usr/bin/perl - App::cpanminus). However on one server it keeps getting put in /usr/local/bin.
Apparently it uses the value in perl -V:installsitebin which is different on this one server. So how do I change this value? I'm not totally sure i care if it is a temporary or permanent change.
And yes I know I could download the standalone executable, but I don't want to do that. All my other servers have just worked, I want to get this one to do the same.
In reply to changing vaules in perl -V by xorl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |