From: Matt Z. <mzagrabe@d.umn.edu> - 2010-08-19 20:39:29
|
On Mon, Aug 9, 2010 at 12:47 PM, James Gaynor <jam...@gm...> wrote: > I am experienced with Expect although I haven't used it for a few years and > am an advanced-novice with Perl. I am looking for some examples of using > the Expect module with Net::Telnet as i am unable to glean inough > information from the perldoc Expect. If someone could spare a sample script > or examples I would be much appreciative. FWIW, I used to use Expect with Net::Telnet because I was under the impression that it would be thread safe, which it might have been. However, there pattern matching issues that arose. For my work, because I make heavy use of threads, I've migrated to Net::Telnet solely. The pattern matching is a bit more kludgy than Expect, but it gets the job done and has been very solid for me. -matt zagrabelny |