hello everybody
I am using net::telnet to connect to a server and I need to send control-X to the server, if I monitor the telnet session I can see that when control-X is pressed, hex 18 is sent to the server, I have not been able to get my script to send this, if I try 0x18, it is automatically converted to decimal 24 and '24' is sent, if I try '0x18', then that is literally sent, I have tried sending '\4' and this correctly sends the control-d character, but if I send '\24' then again '24' is sent, I have also tried '\cX', (from regexp \c meaning control character) but no go, could somebody please kindly point me to the solution to this rather stoopid problem, thank you