Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I am using POSIX (and termios) to read and write raw data to/from my serial ports. When I read a string using POSIX::READ, I want to insure that the string is not converted/interpreted as multi-byte, unicode characters.

For "normal" files, I believe that the "binmode" functions suppresses unicode interpretation. However, this appears to work only on "file handles", and not on the *file descriptors" used by the POSIX functions. Is there a binmode equivalent for POSIX reads, or some other technique ?

Thanks, Scott.