in reply to Enumerate hotfixes applied to a Windows server (2000, 2003)

Thanks.

use Win32::TieRegistry( Delimiter=>"/" );

You should have spent 35 seconds reading the documentation. (:

Actually, I prefer the newer usage:

my $Reg; use Win32::TieRegistry( Delimiter=>"/", TiedRef=>\$Reg );

Then use $Reg (or whatever you name your variable) instead of the old $Registry global that gets exported by default (for backward compatability with earlier versions).

Note that $Registry->{BASE.$f}{Comments} is better written $fix->{$f}{Comments} or $fix->{"$f/Comments"}, since you've already got the BASE() key open.

- tye        

Replies are listed 'Best First'.
Re^2: Enumerate hotfixes applied to a Windows server (2000, 2003) (import)
by eyepopslikeamosquito (Bishop) on May 05, 2005 at 03:51 UTC
    Also, since you are not changing the registry, it seems safer to use Access => 'KEY_READ'.