in reply to Win32::FileSecurity weirdness
Thanks for the tip, Thelonius . I managed a workaround thusly:
- I make a backup copy of the permission hashes, storing them in lowercase using lc.
- When filling the %hash hash inside the wanted sub, I uppercase the keys, thereby forcing a copy. Luckily(!), Win32 is case-insensitive, so this works.