in reply to Perl version
and i tried to update it
don't do that, ever
use apt-get or whatever, if it still works, to reinstall system/vendor perl
Then if you want 5.16, install it in your home directory or /opt/perl, use sh Configure -Dprefix=/opt/perl
perlbrew can help you maintain perl-s in your home directory (or /opt/perl )
see http://search.cpan.org/dist/perl-5.16.2/INSTALL Config#installstyle
To use your new perl you'll have to change your $PATH and/or shebang accordingly, ie #!/usr/bin/env perl or #!/opt/perl/bin/perl --
|
|---|