in reply to telnet with keypress and errmsg problem
just concerning the 'attach' - if I understand you correctly you want to combine push & method invocation: use push @out, $telnet-> ...
Wrt prompts: This might be worth an attempt to make the server's telnetd see a larger terminal: TERM=dumb LINES=9999 command .... With command being either telnet or perl. But also check the module's docs.
Wrt errors: start with checking function/method returns: the return value plus possibly $! and $?.
$rc=$telnet->... ; die "$rc==$?==$!" if not $rc or $?;Info on what to expect should be stated in e.g. perldoc -f / perldoc -m.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: telnet with keypress and errmsg problem
by wro (Initiate) on Oct 01, 2009 at 09:35 UTC | |
by jakobi (Pilgrim) on Oct 01, 2009 at 16:39 UTC |