in reply to Setting @INC on Windows
You want Win32::TieRegistry by tye. (Which is included in any AS build, or can be installed from the latest copy of libwin32.)