in reply to Perl upgrade

You should leave the system’s 5.6 alone as probably too many other things depend on it. Use perlbrew to install a separate Perl with whatever modules you wish (using cpanm installed by perlbrew), and then work on your software to make it compatible with the more modern Perl release of your choice.

Replies are listed 'Best First'.
Re^2: Perl upgrade
by locked_user sundialsvc4 (Abbot) on Jun 13, 2012 at 12:59 UTC

    I definitely “second the motion” that you should not disturb the operating system’s installed version of Perl since many system management tools could depend on it.

    If you are indeed using a system with a Perl that old (e.g. CentOS 5) you probably should seriously consider upgrading it.

      Hi Monks..

      Please forgive me for my unawareness as I am novice.Actually in my application bundled Perl , Path( lib, site , bin etc) are in different directory... What I did right now I installed Perl on my machine and copied it into my application correct directory ( as lib in <app>/perl5/lib )...

      But I am having problem in installing module...can't run cpan from this extracted perl

      Please any advise..

        When installing Perl with perlbrew, make sure you read the documentation on how to switch between the system Perl and the brewed one. Once you execute the command to switch to the installed, new Perl, the cpan command should install things in that tree. Especially cpanm, which I don’t think you have installed for the system Perl anyway.