-----Original Message-----
From: Derek Lamb
Sent: Wednesday, April 18, 2018 2:14 AM
To: [email protected]
Cc: perldl
Subject: Re: [Pdl-general] CHM/PDL-2.018_01.tar.gz released
Rob, what directory does " glob('~') " resolve to on that system?
Hi Derek,
On perl-5.16 and later, it resolves to "C:\Users\sisyphus" (which is
writable).
On perl-5.14 and earlier, it resolves to "~" (which doesn't exist).
All of my perls run under the same environmental conditions, with $ENV{HOME}
unset.
I've just found the relevant change in perldelta for 5.16.0:
<quote>
On Windows, tilde (~) expansion now checks the "USERPROFILE"
environment variable, after checking "HOME".
</quote>
That being so, I think one solution would be to skip the failing tests when
$^O =~ /MSWin32/i && $] < 5.016.
OTOH, there's no problem with those tests on the earlier versions of perl if
$ENV{HOME} is set to a writable directory ... and the perl build does warn
me that $ENV{HOME} is unset.
So, one might perhaps argue that these test failures are of my own making.
Cheers,
Rob
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general