in reply to Dealing with perl upgrade and local XS modules

Apologies if you already knew that, but if you find yourself with a broken Perl installation because the modules in local::lib aren't compatible with /usr/bin/perl any more, just unset the PERL5LIB environment variable to let the system Perl modules take over (and let you run cpanm). (Unless you install as root into /usr/local/.... That's probably harder to fix.)