Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!spool.mu.edu!cs.umn.edu!uc!shamash!hare!dwb From: dwb@hare.cdc.com (dw block x-4621) Newsgroups: comp.unix.shell Subject: Using PERL to control telnet session? Message-ID: <32922@shamash.cdc.com> Date: 6 May 91 16:30:25 GMT Sender: usenet@shamash.cdc.com Reply-To: dwb@hare.udev.cdc.com (dw block x-4621) Organization: Control Data Corporation Lines: 13 Can I use PERL to control interactive programs such as telnet and ftp. What I am really looking for is a scripting capability similar to what you find in PC communications packages like crosstalk and procomm. Send a command and wait until you get some output back. Then send another command (which could be conditional on what kind of output you got back). If this can be done in PERL, are there any example PERL scripts that show how to do it? ------------------------------------------------------------ Dave Block E-mail: dwb@hare.udev.cdc.com Control Data Corp. AT&T: (612) 482-4621