Howard C. Berkowitz wrote: > I've written some Perl scripts (on a LINUX box) to drive some router > tests. Perl is something I've taught myself, and don't have the > experience with it I do with C. > > I got some vague advice from one of our people to write TCL/Expect > and plug that in -- another language to learn -- or to use a telnet > client. Well, of course telnet would work manually -- but can I > fork/spawn a subprocess and connect it to Perl, such that STDIN and > STDOUT of telnet appear as Perl files? > > Examples or pointers to them welcome. > hi howard,
here is a link on how to use expect from perl: http://search.cpan.org/search?mode=all&query=expect i used it quite a while back an liked it very much. makes some tasks simple. if you want you can contact me offline. hth -bis Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=54535&t=54344 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]