You don't need Unix to use lib, just change your backslashes to forward
slashes.


"CAVEATS
    In order to keep lib.pm small and simple, it only works with Unix
    filepaths. This doesn't mean it only works on Unix, but non-Unix
users
    must first translate their file paths to Unix conventions.

        # VMS users wanting to put [.stuff.moo] into
        # their @INC would write
        use lib 'stuff/moo';"



-----Original Message-----
From: chen li [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 14, 2006 3:15 PM
To: Timothy Johnson
Subject: RE: how to tell perl to look for where a new module is
installed

I don't want to add "use lib" within my code. What I
need is that ask Perl to look for another path under
Windows XP. It is a little different from those
working with Linux or Unix machines. I have not
figured it out yet.

Li

--- Timothy Johnson <[EMAIL PROTECTED]> wrote:

> 
> perldoc lib
> 
> 
> 

<snip>


--
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