Firstly, you may have to install cdebconf (which is written in C instead of perl) to make package management work before you restore your system perl. Secondly, reinstall the "perl" package (either by downloading it from http://packages.ubuntu.com/ or by APT which should start working after installing cdebconf).
Another option might be putting all Debconf-related modules into /opt/perl/lib/... (somewhere info @INC), since debconf is written in pure Perl (without XS).
You can also just unpack the perl package file using dpkg-deb and put the real /usr/bin/perl back.
Overwriting /usr/bin/perl is not a good idea, consider changing install scripts to modify (at least) PATH and PERL5LIB environment variables. Also, have a look at perlbrew and perlall, which also automate installing non-system perl without breaking things.
In reply to Re: Perl build and ubuntu problem...
by aitap
in thread Perl build and ubuntu problem...
by Gib
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |