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

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.

Events

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

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