in reply to How to pass a object value to global array in threads
As I told you in Re: Invalid value for shared scalar -while assigning object value to array - In Threads, what you are trying to do won't work.
Not because of all the simple syntax errors you are making; but because performing concurrent operations on a single shared telnet session simply does not work. Telnet sessions are not designed to be shared.
I even pointed you at Re: How do you share an object(Telnet Session) between threads? that explains why it won't work in more detail; and why it is completely unnecessary to share telnet sessions anyway.
YOu are trying to do the wrong thing the wrong way; and there is a much simpler solution to your problem if you would take the time to understand it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to pass a object value to global array in threads
by gjoshi (Sexton) on Oct 26, 2015 at 09:07 UTC | |
by BrowserUk (Patriarch) on Oct 26, 2015 at 10:08 UTC |