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.
In reply to Re: telnet with keypress and errmsg problem
by jakobi
in thread telnet with keypress and errmsg problem
by wro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |