This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
MakeMaker::Test::Utils::perl_lib now copes with relative paths for core testing.
authorNicholas Clark <nick@ccl4.org>
Sun, 11 Oct 2009 14:05:58 +0000 (15:05 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 11 Oct 2009 14:05:58 +0000 (15:05 +0100)
commitfc5e5837c991d3d3224259ff5c1d728d4e0636e2
tree438e1ae38ef95cb035498523d38cda85d46e8e20
parent794ae82d17ef6f7770c42b070af5c40bc4bf19cb
MakeMaker::Test::Utils::perl_lib now copes with relative paths for core testing.

In the core, @INC already contains the moral equivalent of blib/lib. However,
it's a relative path (by default), so make it absolute. It's easier to KISS if
this is done *before* any change of directory, so document this, and change the
non-core case to add the absolute path of 'blib/lib' to @INC, rather than the
absolute path of '../blib/lib'.
dist/ExtUtils-Install/t/lib/MakeMaker/Test/Utils.pm