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

Hi , I want to use dedicated perl interpreter to my projects . Since I have some dependency with the current perl interpreter. I want to give the perl as well as packages in one of my sub directory. So that it is very easy to install the project in any system. Please help me.

Replies are listed 'Best First'.
Re: Want to use Dedicated perl Interpreter
by davido (Cardinal) on Jul 17, 2012 at 06:39 UTC
Re: Want to use Dedicated perl Interpreter
by Anonymous Monk on Jul 17, 2012 at 13:08 UTC
    "Perlbrew" (follow the link ...) is a package that helps in the process of setting up your own Perl interpreter somewhere. It's commonly used, say, when your shared-hosting provider is using an ancient Perl and you want to install an executable into your own home-directory. You can even customize your Perl to specify the directory search-path as a hard coded link; otherwise you set up PERL5LIB etc.
Re: Want to use Dedicated perl Interpreter
by Anonymous Monk on Jul 17, 2012 at 06:53 UTC
    What does that mean?

      Sorry for not explaining in any detail at all. :) I just assumed that the link would tell the story better than I could.

      perlbrew is a tool that simplifies the process of installing your own personal Perl, separate from the system's Perl. You don't even need any sort of elevated privileges on the host.

      In addition to being used by individuals who need their own copy of Perl, it's also frequently used by developers who need to support older Perls as well as more current ones. I've had clients who for one reason or another are stuck with an older Perl. So I'll install that version with Perlbrew on my system so that I can be sure that I'm coding to compliance with the older version of Perl. CPAN developers also like it for helping to verify that a module they've written doesn't generate any surprises under, say, Perl 5.6.0.

      It has many uses for many people. In your case, its use is to have a version of Perl different from system Perl.


      Dave