devslashneil has asked for the wisdom of the Perl Monks concerning the following question:
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) {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Confusing Socket Error
by pg (Canon) on Oct 23, 2003 at 16:46 UTC | |
by devslashneil (Friar) on Oct 24, 2003 at 15:04 UTC | |
by Roy Johnson (Monsignor) on Oct 24, 2003 at 21:16 UTC |