in reply to use inside a package

As others already pointed out the variables were exported to main:: (GOK why, error in Win32::Registry). If you don't want to move to Win32::TieRegistry you my try my patch. If there ever is a new version of libwin32 it'll become the new official Win32::Registry. Or at least it should.

Jenda
We'd like to help you learn to help yourself
Look around you, all you see are sympathetic eyes
Stroll around the grounds until you feel at home
   -- P. Simon in Mrs. Robinson