1Net::CLI::Interact::TraUnsseprorCto:n:tLroiobpubtaeNcdekt(P:3e:)rClLID:o:cIunmteenrtaactti:o:nTransport::Loopback(3)
2
3
4
6 Net::CLI::Interact::Transport::Loopback - Testable CLI connection
7
9 This module provides a wrapped instance of Perl which simply echoes
10 back any input provided. This is used for the Net::CLI::Interact test
11 suite.
12
14 app
15 Defaults to the value of $^X (that is, Perl itself).
16
17 runtime_options
18 Returns Perl options which turn it into a CLI emulator:
19
20 -ne 'BEGIN { $| = 1 }; print $_, time, "\nPROMPT>\n";'
21
22 For example:
23
24 some command
25 some command
26 1301578196
27 PROMPT>
28
29 In this case the output command was "some command" which was echoed,
30 followed by the dummy command output (epoch seconds), followed by a
31 "prompt".
32
34 See the following for further interface details:
35
36 • Net::CLI::Interact::Transport::Base
37
38
39
40perl v5.34.0 202N1e-t0:7:-C2L2I::Interact::Transport::Loopback(3)