Miscellaneous OLE Items
A few additional Win32::OLE surprises await your use. These are the lesser-known aspects, but they can be very powerful in your programming arsenal. Some of these things are taken from Visual Basic, but they do come in very handy in Perl scripts.
Windows applications often produce internal messages that are known as events. An event is an indication that something has occurred. You can imagine a simple clock program that has an alarm set for 7:30 in the morning. When the program notices that the time is 7:30, it could fire off an event. Any application that is listening for this event would be notified and can react. For example, let’s say you have two applications waiting for the alarm event. One will start brewing ...