On Thursday, May 23, 2002, at 12:37 , 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
perldoc Net::Telnet
it's got more detail than you will want....
the trick of course is that to an arbitrary port you may
really want to be at the
IO::Socket
and deal with it all the old fashion way.
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]