One of the most useful aspects of a Win32 machine is the capability to embed and automate data and programs. Microsoft has accomplished this by implementing the complex technology known as object linking and embedding (OLE). Just as it is strikingly similar to the UNIX-based CORBA, it is also just as powerful. Therefore, many users have learned to take advantage of OLE in such a way that it is no longer considered to be a separate technology; instead, it is assumed to be an imperative part of the operating system.
This chapter describes how a Perl script can make use of this technology by using the Win32::OLE extension.