I am using Perl's Net::Telnet module to access an application available over telnet.
I am using $telnet->waitfor()
and $telnet->print()
methods to determine the form received and submit appropriate data. One of the forms has two options - "Find" and "Cancel".
In a terminal, I can just hit TAB to choose "Cancel" and ENTER. But within the script, sending TAB is not working for me, i.e.:
$telnet->print('\t')
or
$telnet->print("\t")
Does anyone know how to solve this issue?