http://www.perlmonks.org?node_id=1022334

perlmonk007 has asked for the wisdom of the Perl Monks concerning the following question:

hi guys, i have a simple question, I use ubuntu 11.04, which i installed using wubi, it has perl version 5.10 installed and i tried to update it using command line and using the make files as well nothing worked, it got installed once and I even put it in my root directory

however, I got a compile error so i quit the command line and restarted it again, now i need to use perl version 5.016, i think i have it installed already but the perl scripts are using 5.10 please if someone knows how to go about this it would help a great deal, i tried use 5.016 in scripts as well but it gives the following error

Perl v5.16.0 required--this is only v5.10.1, stopped at exp2.pl line 4.

also when i install perl 5.16.2 and run the program I get the following error

Can't locate Error.pm in @INC (@INC contains: /home/strider/localperl/lib/site_perl/5.16.2/x86_64-linux /home/strider/localperl/lib/site_perl/5.16.2 /home/strider/localperl/lib/5.16.2/x86_64-linux /home/strider/localperl/lib/5.16.2 .) at /home/strider/localperl/lib/site_perl/5.16.2/ParsePDB.pm line 45. BEGIN failed--compilation aborted at /home/strider/localperl/lib/site_perl/5.16.2/ParsePDB.pm line 45. Compilation failed in require at exp2.pl line 6. BEGIN failed--compilation aborted at exp2.pl line 6.