Try runing perldoc in before_install.

To see what the errors are.