in reply to Windows XP: StdRegProv
I'm afraid you're going to need to provide more information.
It looks like you've provided a full program, judging from the fact that you start with the shebang line # !/usr/local/bin/perl -w, followed by your libraries and variables.
But you haven't declared $log anywhere in your program, much less the associated methods info and infoWarning.
You've said: "I'm having trouble getting StdRegProv to work with Perl", but you haven't said exactly how it fails.
You're also going to get errors with $wmiService unless you declare it (eg. my $wmiService), and the same for $KEY_QUERY_VALUE which is also never declared.
Can you please fix those problems, and explain how this is failing for you exactly?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Windows XP: StdRegProv
by jschollen (Beadle) on Feb 09, 2007 at 08:40 UTC | |
by jschollen (Beadle) on Feb 09, 2007 at 11:26 UTC |