in reply to Trying to close Expect.pm telnet timeout situation to avoid overwhelming a small target device
$VAR1 = [ bless( \*Symbol::GEN0, 'Expect' ) ];
As it looks, your $fh (line 55-57) is an arrayref of objects (don't know why)... which would explain the "Can't call method ... on unblessed reference" (because the arrayref is unblessed). In other words, you might try
$fh->[0]->do_soft_close();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trying to close Expect.pm telnet timeout situation to avoid overwhelming a small target device
by elmoz (Initiate) on Nov 25, 2008 at 03:25 UTC | |
by GrandFather (Saint) on Nov 25, 2008 at 03:46 UTC | |
by almut (Canon) on Nov 25, 2008 at 03:35 UTC | |
by elmoz (Initiate) on Nov 25, 2008 at 18:08 UTC |