very nice code. If it took 3 secs for the echo HELLO to complete, and in that 3 secs there was output, wouldn't the output get dropped ? Thanks update: I think I have something workable, using print instead of put, I am not missing anything yet. Print has no timeout. Thanks for your prodding.my $ok = $t->put(String => "echo HELLO\n", Timeout => 10, Errmode => "return");
In reply to Re^4: Advice on perl socket activity
by sans-clue
in thread Advice on perl socket activity
by sans-clue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |