Added extra logic to protect against perl brew not being installed
Added helper to install cpanm