$myBuf is returning values such as þ & ÿ. I am hoping to get a hex return FE or FF. Thanks in advance... my $myBuf; my $selector = IO::Select->new(\*DisplayIO); if ($selector->can_read(3)) { # 3 second timeout. sysread (DisplayIO, $myBuf, 1); print "Buffer returned : $myBuf\n" } else { print "Nothing in buffer\n"; } ..
In reply to sysread returning weird values by perllearner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |