Creating COM Objects

Now that OLE and COM have been briefly described, forget everything regarding OLE. It is not important. OLE is simply the way in which you can embed an object into another object. OLE defines how that occurs. When you really dig deep into the specifics, you will find that OLE really represents how you can embed a COM object inside another COM object. Add emphasis on COM object.

If you are slightly confused, then you are ready for this next piece of information. A Perl script will be playing with COM objects, not OLE. It is unfortunate that the extension is called Win32::OLE because it does not really provide OLE capabilities to Perl. It provides access to COM objects. I suppose if it were correctly called Win32::COM, it ...

Get Win32 Perl Programming: The Standard Extensions, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.