1

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. 

1 Answer 1

2

Generally, you set multiple paths by semicolon separating them.

set PERL5LIB = c:\path\to\dir1;c:\path\to\dir2;c:\path\to\dir3
Sign up to request clarification or add additional context in comments.

2 Comments

s/Generally/In Windows/
Yeah, sorry - my gist was that it works similarly to other Windows path environment variables

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.