I am trying to compile Encode::Detect with ActivePerl and am getting the -x c++ error that a previous user got. I am pretty sure it is the c++ option not being recognized and it is using the wrong compiler. Do you know of a way in ActivePerl to work around this so it will compile with ActivePerl and Visual Studio 2012?