in reply to Terminal Client
should do the trick. Note that with the "H*" format given to pack, you can use a long string. pack "H*", "02020d0a" encodes STX STX CR NL.$MySocket->send(pack "H*", "02")
If it's just a single byte, I'd use:
$MySocket->send("\x02")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Terminal Client
by cstrong (Beadle) on Oct 24, 2008 at 15:31 UTC | |
by JavaFan (Canon) on Oct 24, 2008 at 15:47 UTC |