user2649133
user2649133

Reputation: 67

setting multiple paths to PERL5LIB in Windows command line

So I set PERL5LIB to a certain directory in my Windows command line using this

set PERL5LIB = c:\path\to\dir

I want to know if there is a way to set multiple paths in the same command line to PERL5LIB.

set PERL5LIB = c:\path\to\dir1
set PERL5LIB = c:\path\to\dir2
set PERL5LIB = c:\path\to\dir3
etc. 

Upvotes: 1

Views: 4954

Answers (1)

Oesor
Oesor

Reputation: 6642

Generally, you set multiple paths by semicolon separating them.

set PERL5LIB = c:\path\to\dir1;c:\path\to\dir2;c:\path\to\dir3

Upvotes: 2

Related Questions