in reply to Re: Working with Windows Registry in PERL
in thread Working with Windows Registry in PERL
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?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"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Working with Windows Registry in PERL
by Anonymous Monk on Jun 11, 2008 at 12:56 UTC | |
by pramodkh (Novice) on Jun 16, 2008 at 12:06 UTC |