Search code examples
perldevelopment-environmentproduction-environment

What's a good way to handle development/production libs paths with Perl?


With Perl, what is an easy way to handle different development versus production libs paths? I want to use my local box path for testing, but when I launch I want it to automatically point to the production lib path.


Solution

  • Take a look at the PERL5LIB environment variable, or for an even easier time, look at local::lib.