summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2016-09-01 13:30:28 -0500
committerCraig A. Berry <craigberry@mac.com>2016-09-01 17:38:15 -0500
commit483efd0abe32386a3d82710532464cf4e9a0124b (patch)
treec70971a6c178b727d01f7c349caee4ad750abaaa /perl.c
parent7c280bee056f2462f4b4aa2150a160fb9176601e (diff)
downloadperl-483efd0abe32386a3d82710532464cf4e9a0124b.tar.gz
Make PERLLIB_SEP dynamic on VMS.
Because if we're running under a Unix shell, the path separator is likely to meet the expectations of Unix shell scripts better if it's the Unix ':' rather than the VMS '|'. There is no change when running under DCL.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index 1ceed1cd85..afc9cbb88c 100644
--- a/perl.c
+++ b/perl.c
@@ -4655,8 +4655,8 @@ S_init_perllib(pTHX)
#if defined(DOSISH) || defined(__SYMBIAN32__)
# define PERLLIB_SEP ';'
#else
-# if defined(VMS)
-# define PERLLIB_SEP '|'
+# if defined(__VMS)
+# define PERLLIB_SEP PL_perllib_sep
# else
# define PERLLIB_SEP ':'
# endif