--- "Randy W. Sims" <[EMAIL PROTECTED]>
wrote:

> chen li wrote:
> > Hi all,
> > 
> > Thank you all for reply my post in advance.
> > 
> > I install in new module like this:
> > c:/perl/local/new.pm.
> > 
> > How should tell the perl to look at it in addition
> to 
> > the default paths?
> 
> Set the environment variable PERL5LIB to the
> additional paths.
> 
> On the command line: `set PERL5LIB=C:\perl\local`
> 
> or in the system control panel applet (hold
> <Windows> key and press 
> <break>), select advanced tab, hit the "Environment
> Variables" button. 
> Then create a new system or user variable.
> 
> I have a number of perls on my machines, and switch
> back and forth by 
> manipulating the PATH and PERL5LIB all the time.
> This is the easiest way 
> to do it.
> 
> ( You can also do it by setting various entries in
> the registry, see 
> <perl-src>\win32\win32.c in functions
> win32_get_privlib(), 
> win32_get_xlib() )
> 
> Randy.
> 
> 

Thanks Randy. What you point out is what I want.


Li 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to