ActiveState Perl comes with Win32::OLE:
Q:\>perl -v This is perl, v5.8.3 built for MSWin32-x86-multi-thread (with 8 registered patches, see perl -V for more detail) Copyright 1987-2003, Larry Wall Binary build 809 provided by ActiveState Corp. http://www.ActiveState. +com ActiveState is a division of Sophos. Built Feb 3 2004 00:28:51 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using `man perl' or `perldoc perl'. If you have access to + the Internet, point your browser at http://www.perl.com/, the Perl Home Pa +ge. Q:\>perl -MWin32::OLE -e1 Q:\>
So whatever you're trying to do, you're doing it wrong somehow. Most likely, the Perl you're starting is not the ActiveState Perl but the Linux Perl.
I already suggested using CIM, as also is suggested in the documentation of DBD::WMI.
As I found, Strawberry Perl does not come with Win32::OLE - I have to fix that, because Win32::OLE is (besides Win32::API) one of the important modules to have on Win32.
In reply to Re^3: DBD::WMI module installation problem
by Corion
in thread DBD::WMI module installation problem
by srinivas_rocks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |