Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: SAPI and Win32::OLE's broken WithEvents

by bulk88 (Priest)
on May 07, 2012 at 19:46 UTC ( #969321=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://969321]
help
Chatterbox?
[Corion]: Also see Config::V, which is less of that hackery, or that hackery hidden in a module ;)
[1nickt]: The problem was with Perlbrew
[Corion]: Whoops - Config::Perl::V
[1nickt]: I found that when using Perlbrew as recommended, with cpanminus in the system perl lib, such tests were failing to detect the data about the perl that was the install destination.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-10-18 15:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (249 votes). Check out past polls.

    Notices?