Which produces no output, however when i remove the chomp line it prints what i would expect from $buf, with a newline.my $buf = <$client>; chomp $buf; print $buf;
while (my @ready = $sel->can_read) { foreach $client (@ready) {
In reply to Confusing Socket Error by devslashneil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |