D:\>perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread [...] D:\>test.pl path SOFTWARE\Microsoft\Microsoft SQL Server subkeys: values: 100\, 90\, DACFramework\, DACProjectSystem\, RefCount\, Services\, SharedManagementObjects\, SqlPubWiz\, TSqlLanguageService\ Can't read SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names key: The system could not find the environment option that was entered