Perl Upgrade Recovery: perlbrew Side-by-Side vs In-Place cpanm Reinstall for Broken @INC
The goal is to recover a working Perl installation after a failed upgrade without allowing @INC to load modules from two different Perl trees. Assuming @INC includes both core and site/lib paths, one option is to keep the failed build in place and use cpanm --reinstall to overwrite modules in the same tree. An interrupted build can leave partially compiled X