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


in reply to Adding user-defined modules under ActiveState

G'day John,

You can use the environment variable PERL5LIB to specify a private area for the modules you write - see perlrun - ENVIRONMENT for details.

The advantage of doing this is that it's independent of any path created by a third-party vendor. I don't currently have any Windows Perls but in the past (using Windows XP) I've had ActiveState and Strawberry Perls installed at the same time - both found the single copy of modules I'd written myself without requiring any additional push @INC ..., use lib ... or similar workarounds.

-- Ken