1Net::CLI::Interact::TraUnsseprorCto:n:tTreilbnuette(d3N)Peetr:l:CDLoIc:u:mIenntteartaicotn::Transport::Telnet(3)
2
3
4
6 Net::CLI::Interact::Transport::Telnet - TELNET based CLI connection
7
9 This module provides a wrapped instance of a TELNET client for use by
10 Net::CLI::Interact.
11
13 app
14 On Windows platforms you must download the "plink.exe" program, and
15 pass its location to the library in this parameter. On other platforms,
16 this defaults to "telnet".
17
18 runtime_options
19 Based on the "connect_options" hash provided to Net::CLI::Interact on
20 construction, selects and formats parameters to provide to "app" on the
21 command line. Supported attributes:
22
23 host (required)
24 Host name or IP address of the host to which the TELNET application
25 is to connect.
26
27 port
28 Port number on the host which is listening for the TELNET
29 connection. Defaults to 23.
30
31 opts
32 If you want to pass any other options to the Telnet application,
33 then use this option, which should be an array reference.
34
35 On Windows platforms, each item on the list will be passed to the
36 "plink.exe" application, separated by a single space character. On
37 Unix platforms, if depends whether you have IO::Pty installed
38 (which in turn depends on a compiler). Typically, the Net::Telnet
39 library is used for TELNET connections, so the list can be any
40 options taken by its "new()" constructor. Otherwise the local
41 "telnet" application is used.
42
43 reap
44 Only used on Unix platforms, this installs a signal handler which
45 attempts to reap the "ssh" child process. Pass a true value to
46 enable this feature only if you notice zombie processes are being
47 left behind after use.
48
50 See the following for further interface details:
51
52 • Net::CLI::Interact::Transport::Base
53
54
55
56perl v5.32.1 2021-N0e1t-:2:7CLI::Interact::Transport::Telnet(3)