modulespath via environment-variable ?

From: Felix Drueke (felixdrueke_at_gmx.net)
Date: 02/21/05


Date: 21 Feb 2005 01:19:00 -0800

Hi,

is it possible to specify an alternative modules-path via environment-
variable?

The reason I ask is:
we are developing a product that uses perl and some perlmodules.
We want that the modules are installed in the developers workspace
from the source-control-system and not host-wide in /usr/local/lib/perl5.
We want that the perlmodules are part of the product.

As we already have many perl-scripts I just want to be able to set
an environment-variable (in a "PERLHOME"-style) in order to tell all
of them that they should search in that path for modules.

Thanks for any hints,
Felix