Subject: | Test fails on Windows XP |
On Windows XP the tests fail with:
t/casing.t ............. Use of uninitialized value in substitution (s///) at C:
\dev\CitrusPerl\cpan\build\Config-GitLike-1.12\blib\lib/Config/GitLike.pm
line 174.
That is because there is no HOME env defined and $filename is something like:
C:\DOCUME~1\User\LOCALS~1\Temp\Xuoxz56uxu\config
Note that it contains multiple '~' chars.
My proposed fix is:
$filename =~ s/^~/$ENV{'HOME'}/g;
Regards,
Stefan