http://www.perlmonks.org?node_id=101033


in reply to Problem with ActiveState's Win32::File module

Why don't you just reset the READONLY bit (I don't do Win32 stuff much, but just glanced at the docs)? I have no idea what NORMAL is, but I don't think there's a DOS attrib for that...

Win32::File::GetAttributes($path, $attr); Win32::File::SetAttributes($path, $attr & ~ READONLY);