Subject: | Re: Bug #60406 for PathTools: tmpdir with -T on Windows |
Date: | Fri, 26 Aug 2011 00:32:17 +0100 |
To: | bug-PathTools [...] rt.cpan.org |
From: | "Charles 'Boyo" <charlesboyo [...] gmail.com> |
I had a similar experience while trying to install Dancer on
Strawberry Perl 5.12.3 under Windows 7.
tmpdir() simply returns \ which is not writable.
I fixed this by adding 'C:\windows\temp' to the searched lists. This
path appears to be available on all recent versions of Windows - since
XP anyway.
Can this change be incorporated into the package upstream?
In complete agreement with mmusgrove. Considering the number of other
modules that indirectly depend on this, such changes in the Windows
approach to temporary folders shouldn't cause File::Spec::Win32
irreparable damage.