in reply to Re: SAPI and Win32::OLE's broken WithEvents
in thread SAPI and Win32::OLE's broken WithEvents

I'm actually surprised what you have is working, because my understanding is that your initialisation for @table wouldn't be called until after the Win32::OLE->MessageLoop() returns.

Your right about @table. Its broken, in the output its all undef. I failed at the closure. Should have put a BEGIN block around it.

@hash{@{$keys{$hash{'eventName'}}}} = @_2..$#_;

"@hash{" what is that? hash is a % or a $ for slices.
  • Comment on Re^2: SAPI and Win32::OLE's broken WithEvents

Replies are listed 'Best First'.
Re^3: SAPI and Win32::OLE's broken WithEvents
by Mr. Muskrat (Canon) on May 07, 2012 at 20:49 UTC