How do I send an arrow key in Perl using the Net::Telnet module?
Posted
by pokstad
on Stack Overflow
See other posts from Stack Overflow
or by pokstad
Published on 2010-03-23T17:35:15Z
Indexed on
2010/03/23
17:53 UTC
Read the original article
Hit count: 266
Using the Perl module Net::Telnet, how do you send an arrow key to a telnet session so that it would be the same thing as a user pressing the down key on the keyboard?
use Net::Telnet;
my $t = new Net::Telnet();
my $down_key=?; #How do you send a down key in a telnet session?
t->print($down_key);
© Stack Overflow or respective owner