Syntactic Confectionery Delight | |
PerlMonks |
Re^4: SSH2 - Asynchronous Opens & Synchronous Commandsby 5haun (Scribe) |
on Apr 04, 2014 at 13:50 UTC ( [id://1081143]=note: print w/replies, xml ) | Need Help?? |
This is an interesting proposal. I'll have to do some tests with this. Thanks. I'll report back with my findings. Update: I'm still working on this test case. I've got something implemented using Telnet, but I need to do some more testing. I'll post code tomorrow morning. In the meantime, how would you handle waiting for all the async open requests to complete? I this what wait_for_master is for? My current solution loops checking for $ssh->wait_for_master(1) returning true. Thanks.
In Section
Seekers of Perl Wisdom
|
|