in reply to Perl as a telnet server?
If you want to have a script telnet to a machine and fire commands at it, there's a better solution: Expect.pm. This is a module that mimics the Expect programming language. You fire off a command, Expect listens, and you use standard perl to parse the response. This is really helpful if you have to automatically navigate a menu.
I'm using Expect.pm for a script that automates build installation, and it's made life much easier.
-Logan
"What do I want? I'm an American. I want more."
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl as a telnet server?
by Revelation (Deacon) on Dec 14, 2002 at 18:19 UTC | |
by logan (Curate) on Dec 14, 2002 at 19:14 UTC |