On 2/14/06, Wolcott, Kenneth A <[EMAIL PROTECTED]> wrote:
> Hi;
>
>   What is the correct path separator for "use lib" in a Perl program on
> Windoze when I have multiple paths?

Multiple "use lib" statements:

use lib "/usr/local/perl";
use lib "/opt/perl";
use lib "~/perl";

>
>   What is the correct path separator when using PERL5LIB on Windoze?
>
>   Apparently a colon is not a good choice as that is the Windoze
> separator between drive/partition names and the path(s)...
snip

from perldoc perlrun
PERL5LIB

    A list of directories in which to look for Perl library files
before looking in the standard library and the current directory. Any
architecture-specific directories under the specified locations are
automatically included if they exist. If PERL5LIB is not defined,
PERLLIB is used. Directories are separated (like in PATH) by a colon
on unixish platforms and by a semicolon on Windows (the proper path
separator being given by the command perl -V:path_sep).

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