in reply to Windows API in perl?
The Win32 section of our very fine Tutorials has some information regarding Win32::OLE.
By querying the mighty Google, I was able to find the following, which may be of interest:
Microsoft - WMI Scripting Primer Microsoft - WMI Scripting Library Object Model
HTH,