ibm1620 has asked for the wisdom of the Perl Monks concerning the following question:
Well, gosh. Those long lines aren't REALLY there. I just can't seem to make them go away in this browser edit window. Maybe something with Chrome?while (1) { $! = undef; # no error, yet if ($select->can_read(10)) { $rc = sysread($sock, $buffer, 64*1024, length($buffer)); next if $rc; # continue if not error and not "e +of" last if defined($rc); # exit if "eof" } else { $rc = ( $! ? undef : 1 ); # WHAT IS HAPPENING HERE????? last if $rc; } + + redo if $! == EAGAIN ; # Not really expected, even with no +n-blocking redo if $! == EINTR ; # Signals ! + + + last ; # exit on "hard" error }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Emacs CPerl mode - confused?
by ibm1620 (Hermit) on Feb 24, 2014 at 23:37 UTC | |
by LanX (Saint) on Feb 24, 2014 at 23:49 UTC | |
by eco (Acolyte) on Feb 25, 2014 at 06:25 UTC | |
|
Re: Emacs CPerl mode - confused?
by Anonymous Monk on Feb 24, 2014 at 23:35 UTC |