http://www.perlmonks.org?node_id=505500


in reply to Win32::OLE and alarm

Have you tried using: Win32::Sleep() to create the delay?

Replies are listed 'Best First'.
Re^2: Win32::OLE and alarm
by puff (Beadle) on Nov 03, 2005 at 20:27 UTC
    I don't think sleep can help (native or Win32) since I need to exit the event routine so that the OLE event loop can continue to run and possibly send additional events.

    I think what I'm looking for is a perl callback timer mechanism that is consistent with Win32::OLE. A com object callback timer might work.
      What about using Win32::OLE->SpinMessageLoop() and creating your own timer loop.