in reply to Re^3: win32::OLE timeout problem
in thread win32::OLE timeout problem
The OP appears to have given up on an OLE based solution and was asking for any solution.
You cannot do what the OP is trying to do (connect to a remote OLE server), without using OLE.
His problem is that he doesn't want to wait the default amount of time (1 hour from what I've read), before discovering that the remote server is unavailable.
Attempting to use alarm will fail dismally as since 5.8.something, Perl's has "safe-signals" which will not interrupt an a individual Perl op-code, never mind a long-running XS function.
Even if he enables unsafe signals, if alarm had any affect at all, it would probably be disastrous as it would leave the OLE request hanging.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: win32::OLE timeout problem
by Bloodnok (Vicar) on Apr 01, 2009 at 11:18 UTC |