Title: @INC - directory separator difference between 5.0x and 5.6x for NT
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marc Weinmann
Sent: Tuesday, October 17, 2000 8:03 AM
To: '[EMAIL PROTECTED]'
Subject: @INC - directory separator difference between 5.0x and 5.6x for NT


My question is how can I compatibly add a path to
@INC that will work on both of these versions of perl. 

 

Have you tried backslash?  I would suppose 5.6 will still use it.

It seems from the below @INC uses a different separator
depending upon if its 5.0x on NT, or 5.6.

I tried using 'unshift @INC, "D::dir1::dir2::dir3";
but the :: doesn't get transposed into the directory
separator, as it does in use statements.

Reply via email to