As was pointed out before, it's probably difficult (if not impossible) to have perl access an already open telnet session.
However, I have accomplished a similar task by using perl to copy to/from the Windows clipboard (of course, this precludes that you're using Windows). Here's the process (in English): 1) Open the telnet session manually 2) Highlight the screen and copy to the clipboard 4) Execute the perl script 5) Parse, process, copy the results back to the clipboard (make sure my screen is now un-selected) 6) Paste the results back to the screen Russell J Foster Subject, Wills, & Company e. [EMAIL PROTECTED] v. 630-572-0240 -----Original Message----- From: Oktay Ahmed [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 11:48 PM To: [EMAIL PROTECTED] Subject: SEND Hi � am a very beginner in Perl. Here is my problem: I want to send some data on (via) established connection (telnet). I don't need any code to establish connection, to login, etc. I just need to send data (including "\n" at the end). How to do this? What modules I have to use? Sorry for asking this kind of simple questions... Best, Oktay ----- Oktay AHMED, MA, Chairman MENSA MACEDONIA, The High-IQ Society P.O.Box 747, 1000 Skopje, Macedonia E-mail: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Web: <www.mensa.org.mk> Fax: +1 305 574 0549 (USA) / +44 870 136 3517 (UK) ----- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
