Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Enumerate hotfixes applied to a Windows server (2000, 2003) (import)

by tye (Sage)
on May 05, 2005 at 02:45 UTC ( #454216=note: print w/replies, xml ) Need Help??


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 (Chancellor) on May 05, 2005 at 03:51 UTC
    Also, since you are not changing the registry, it seems safer to use Access => 'KEY_READ'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://454216]
help
Chatterbox?
[Corion]: (one of my scripts simply catches high amounts and I phone people making that trade, ideally before the payment is due)
[Corion]: The sad thing is that my script sits at the end of the pipeline and can only look at the payments due today or tomorrow basically, while there are many more systems further up in the pipeline
[GotToBTru]: better late than never, I guess
[Corion]: GotToBTru: Sure - there is a long and sad story of many frantic cleanups that led us to implement this notification ;)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2017-03-29 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (347 votes). Check out past polls.