This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Cannot portably split on $Config{path_sep} -- use quotemeta($Config{path_sep}).
authorCraig A. Berry <craigberry@mac.com>
Tue, 2 Mar 2010 00:56:45 +0000 (18:56 -0600)
committerCraig A. Berry <craigberry@mac.com>
Tue, 2 Mar 2010 00:56:45 +0000 (18:56 -0600)
commit6061da081a4fed7b01d246a6004b4366c205b50e
treea34a841bdc7b33b00b429667b00a6dd3073df625
parentb09c05e65698d8bad3544ae2c60fdbf601f0fa72
Cannot portably split on $Config{path_sep} -- use quotemeta($Config{path_sep}).

Broken in fc5e5837c991d3d3224259ff5c1d728d4e0636e2.

On VMS we were getting:

$ perl -"MConfig" -e "print join('+',split $Config{path_sep}, 'foo|bar|baz');"
f+o+o+|+b+a+r+|+b+a+z

which is a *lot* more pieces than we want.  What was intended was:

$ perl -"MConfig" -e "print join('+',split quotemeta($Config{path_sep}), 'foo|bar|baz');"
foo+bar+baz

No version bump as this is test infrastructure and 1.55 has not been
released outside of development releases of blead.
dist/ExtUtils-Install/t/lib/MakeMaker/Test/Utils.pm