Using PERL to control telnet session?

dw block x-4621 dwb at hare.cdc.com
Tue May 7 02:30:25 AEST 1991


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 at hare.udev.cdc.com
Control Data Corp.            AT&T:    (612) 482-4621



More information about the Comp.unix.shell mailing list