in reply to Re: Working with Windows Registry in PERL
in thread Working with Windows Registry in PERL

Using Win32::TieRegistry module I tried this :
use Win32::TieRegistry( Delimiter=>"/", ArrayValues=>0 ); $RegHash= $Registry->{"HKEY_LOCAL_MACHINE/SYSTEM/CURRENTCONTROLSET +/SERVICES/MSSQL\$SQLEXPRESS/"} #$tips= $Registry->{"HKEY_LOCAL_MACHINE/SOFTWARE/PMS/"} or die "Can't find the Windows Registry: $^E\n"; foreach( keys %$RegHash ) { #print "$_: ", $RegHash->{$_}, "\n"; if ( defined $_ ) { print "$_ is defined...\n"; } }
But this will give only if subkey exists...how to get the details of a subkey? Each subkey has Name/Type and Data defined. How do i get these details?
Basically i want to compare the actual registry key values with the expected( which is maintained in a file).
Thanks.

Replies are listed 'Best First'.
Re^3: Working with Windows Registry in PERL
by Anonymous Monk on Jun 11, 2008 at 12:56 UTC
      Thanks...I am able to get the subkey details.