I'm using CentOS 6.6 and install Perl, cpanm
, and Perlbrew to it. But when I try to run Perlbrew (to install specific Perl version) or cpanm
with sudoer permission, a "not found error" comes out:
sudo: cpanm: command not found
sudo: perlbrew: command not found
It's OK when running without sudoers permission or root permission. How can I fix this?