in reply to Re^2: poorly documented behaviour of readline() and IO::Select
in thread poorly documented behaviour of readline() and IO::Select

Yes. I've always favoured length prefixes to delimiters in protocols I've written--mostly RS-232, RS-432 and some short range wireless hand-held devices (think barcode scanners in supermarkets but 15+years ago).

But that doesn't really fit with the *nix, everything-is-a-file way of working.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy
  • Comment on Re^3: poorly documented behaviour of readline() and IO::Select