This might be handy

alias cpanm-failed='$PAGER $HOME/.cpanm/build.log'