-
Install plenv
brew install plenvbrew install perl-buildAdd this to ~/.bash_profile
if which plenv > /dev/null; then eval "$(plenv init -)"; fiInstall plenv-contrib:
-
Install Perl 5.18.4
plenv install 5.18.4 -
Install cpanm
plenv install-cpanm -
Install CPAN modules
cpanm Monitoring::Plugincpanm LWP::UserAgentcpanm HTTP::Status
For SSL support:
brew install openssl
cpanm Net::SSLeay
LWP::Protocol::https