Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Adding user-defined modules under ActiveState

by kcott (Abbot)
on Oct 14, 2012 at 23:27 UTC ( #998989=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Adding user-defined modules under ActiveState
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998989]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-08-23 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls