in reply to Re: Timed STDIN input via threads on Win32
in thread Timed STDIN input via threads on Win32
That was exactly what I did to solve the thread-safe problem. Inside the read_excel I have that require Win32::OLE line. My problem is that when the timeout expires and I am calling the read_excel sub by creating a thread, then STDIN seems to hang and I have to press enter. If I will call the sub directly, the script continues, however, the problem now becomes the thread-Win32::OLE incompatibility, making the program crash.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Timed STDIN input via threads on Win32
by kschwab (Vicar) on Nov 19, 2013 at 03:12 UTC | |
by markperlb0y (Initiate) on Nov 19, 2013 at 03:22 UTC | |
by dasgar (Priest) on Nov 19, 2013 at 04:24 UTC | |
by markperlb0y (Initiate) on Nov 19, 2013 at 04:55 UTC | |
by kschwab (Vicar) on Nov 19, 2013 at 03:45 UTC |