in reply to Re^2: perlbrew not installing
in thread Module Text::Autoformat not working; perlbrew not installing

Have you looked at what Google provides as answer?

Google tells me that you need to use Xcode 7 and maybe add the appropriate library search directories.