print $switch $byte # prints one byte to the telnet connection. Confirmed as written by checking DUMP file sysread($switch, $byte2, 1) # reads in one byte from the telnet input buffer.