check $HOME and perlbrew

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>