Don't ask to ask, just ask | |
PerlMonks |
Re: Adding user-defined modules under ActiveStateby kcott (Archbishop) |
on Oct 14, 2012 at 23:27 UTC ( [id://998989]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|