on Thu, 23 May 2002 19:37:47 GMT, Jason Frisvold wrote: > I need to write a program that telnets to a specific port and logs all > the output to a file. Is there an easy way to do this in perl? I tried > this via the command line (telnet 1.2.3.4 23 > my.log &) but it > apparently buffers everything and I'd like to be able to tail the file > at times...
The NET::Telnet module is your friend, and its documentation has plenty of examples. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]