in reply to Expect Issues
I don't know what's wrong with Expect, but if you change:
$abi->send("$cmd\n") or die "Can't send to expect object: $abi->error( +)";
to:
$abi->send("$cmd\n") or die "Can't send to expect object: " . $abi->er +ror();
you may get a better error message than:
Can't send to expect object: Expect=GLOB(0x8eb92e8)->error() at /thres +hNet/bin/xm-test line 41.
As it stands right now, it's converting $abi into a string, without calling the error() member, so you're not getting a useful error message right now.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Expect Issues
by HalNineThousand (Beadle) on Dec 31, 2010 at 16:41 UTC |