On 4/16/2011 9:00 AM, Mike Flannigan wrote:
I used to run this script and it worked fine. Now is gives error Can't locate WMI.pm in @INC . . . Sure enough the module is gone and I can't find it in ActiveState ppm. Anybody know what happened to this module? I Googled and couldn't find the answer. _________________________________________________ #!C:/perl/bin/perl use strict; use WMI; open STDOUT, ">services.txt" or die "Cannot open services.txt: $!"; my $WMI = WMI->new("localhost"); $WMI->getServices(); close STDOUT; # ************************************************ print "All done.\n"; __END__ Mike Flannigan
Based on http://support.microsoft.com/kb/320046 and http://support.microsoft.com/kb/320047 Looks like it was park of win2k resource kit John -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/