So maybe we should add a M::SA::Util::get_home() which first tries $ENV{HOME}, then on Windows $ENV{HOMEDRIVE}\$ENV{HOMEDIR}, then portable_getpwuid()[7], then... foo?
portable_getpwuid() doesn't seem to do anything useful under Windows for this purpose and shouldn't be needed anyway. It just returns 'unknown' for the name, which works when you don't care about the actual user name.
The first two steps are fine, and probably enough, except that you would not have to add the '\' separator, it is already in HOMEDIR.
Question: In ArchiveIterator.pm does everything work if that is what it uses for HOME or does anything have to be done to convert \ to / ?
-- sidney
