On Mon, Apr 27, 2015 at 4:10 PM, Jens Rehsack <rehs...@gmail.com> wrote:
> Is there a reason not to tryout Win32 API function GetTempPath ( > https://msdn.microsoft.com/en-us/library/windows/desktop/aa364992%28v=vs.85%29.aspx > )? > I dunno how File::Spec/File::Temp on Unix behaves tmp points to a > non-writable directory (think r/o file-system). > Good point. I think that's feasible if Win32::API is installed, which most Win32 Perl's should have, IIRC. As a further fallback, I think all Win32 Perl's ship with Win32.pm, which gives Win32::GetFolderPath. Then CSIDL_INTERNET_CACHE looks like the best choice for temporary data. David -- David Golden <x...@xdg.me> Twitter/IRC: @xdg