This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Time-HiRes: fix a do/@INC issue in Makefile.PL
The code assumed that File::Spec->catfile(".", ...) would create a
"./" prefix in the pathname that is fed to do(), but it turns out
catfile() doesn't work like that.
This didn't affect perl builds since Makefile.PL is normally run by
miniperl, which *does* have '.' in @INC. But it you tried to build
Time-HiRes manually, it would fail.
[ This commit is half of a diff proposed by James E Keenan - I decided the
File::Spec part could wait till after 5.26.0 ]