Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!lth.se!newsuser From: anders@dit.lth.se (Anders Ardo) Newsgroups: comp.lang.perl Subject: Telnet from within Perl? Message-ID: <1991Feb15.141235.9157@lth.se> Date: 15 Feb 91 14:12:35 GMT Sender: newsuser@lth.se (LTH network news server) Organization: Dep. of Computer Engineering, Lund Institute of Technology, Sweden Lines: 17 I need to trap part of the output from a telnet session into a file and do some processing to it. I would like to do the processing with Perl. Is it possible to run telnet interactively from within a Perl-script? How do I do it? Actually the telnet need not be interactive, I would settle for a way to run a fixed script as input to telnet (with usernames and passwords etc.) if that is possible. Any hints or suggestions are welcome. Thanks for your help. Anders -- Anders Ardo Tel: int+46 46 107522 Dept. of Computer Engineering fax: int+46 46 104714 University of Lund, P.O. Box 118 Internet: anders@dit.lth.se S-221 00 Lund, Sweden or anders%dit.lth.se@uunet.uu.net