Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Adding user-defined modules under ActiveState

by davies (Vicar)
on Oct 15, 2012 at 08:41 UTC ( #999030=note: print w/ replies, xml ) Need Help??


in reply to Re: Adding user-defined modules under ActiveState
in thread Adding user-defined modules under ActiveState

Yes, that's what I've been using up to now. The problem is that I have the development version on my network, but I also want to run the code on a notebook that may not be connected to the network. Since different machines have different system drives (the one I'm working on uses F:, for example), I'd prefer to avoid paths that would need to be machine specific.

Regards,

John Davies


Comment on Re^2: Adding user-defined modules under ActiveState
Replies are listed 'Best First'.
Re^3: Adding user-defined modules under ActiveState
by jmlynesjr (Friar) on Oct 15, 2012 at 15:42 UTC

    John, yes, you have a different situation than I have. The environment variable method may work best for you. I just installed Citrus Perl 5.16 and in trying to run a wxPerl screen capture script I found on Perl Monks, a required module couldn't be found in the "standard" @INC paths. After locating the module several levels deeper in the directory structure, I used the use lib to point to it. As I learn more, I may have to change plans also. I'm looking at putting commands into .profile to set things up at login.

    James

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2015-07-31 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls