It sounds to me like you've got a Perl that's come unstuck from your compiler. Generally speaking Perl must be compiled with the same compiler that yo u'll use to compile CPAN modules. If you change your compiler (like going from GCC 4.x to 3.2, for example) you'll probably need to recompile Perl.