Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Win32:OLE errors when running same code on Windows XP

by davies (Parson)
on Aug 09, 2012 at 19:49 UTC ( #986598=note: print w/replies, xml ) Need Help??

in reply to Win32:OLE errors when running same code on Windows XP

Your code doesn't run. I made it run by removing the subroutine declaration and it ran with no errors. I'm on Perl 5.12, so I had to change that line, and SP2. I suspect the problem is in the code you haven't quoted. I see references in your errors to " line 216", which may or may not be among the lines you have given us, but it doesn't matter as the actual call may involve some parameters which aren't mentioned in the code you give us.

Please try to cut your code down to the absolute minimum that demonstrates the problem (is "use 5.014" really necessary, for example? Strict & Warnings certainly are, but you have a lot of modules that I can't see being used in the given code) and check that it gives an error message on your machine. Then we will have a better chance of helping you.


John Davies

  • Comment on Re: Win32:OLE errors when running same code on Windows XP

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986598]
[LanX]: he loves to do this with regexes ...
LanX considers looking for a new project ...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2018-03-19 23:28 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.