File::Temp/File::Spec problems on Windows under tain t mode – breaking change needed?

[email protected] (David Golden)
Newsgroups perl.cpan.workers
Message-ID <CAOeq1c-JWZ10eWncxh4-mepJfVwLZkamspS-feOSSqZ5TvHYow@mail.gmail.com>
[trying out this channel for toolchain discussions]

Please see https://rt.cpan.org/Ticket/Display.html?id=60340 for context.

I think File::Temp needs to be able to work around File::Spec::Win32
returning a non-writable directory.

My proposal was to warn and fall back to ".".  That's a small breaking
change, but I think doing something in a different place than requested is
better than failing entirely.

Alternatively, it needs to validate the Win32 response and throw an error
early, before attempting to make the directory so that the error message is
more informative.

Thoughts?

-- 
David Golden <[email protected]> Twitter/IRC: @xdg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.