O'Reilly logo

Win32 Perl Programming: The Standard Extensions, Second Edition by Dave Roth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required