1Net::CLI::Interact::TraUnsseprorCto:n:tLroiobpuNbteaetcd:k:(PC3eLprIml:):DIonctuemreanctta:t:iTornansport::Loopback(3pm)
2
3
4

NAME

6       Net::CLI::Interact::Transport::Loopback - Testable CLI connection
7

DECRIPTION

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

INTERFACE

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

COMPOSITION

34       See the following for further interface details:
35
36       •   Net::CLI::Interact::Transport::Base
37
38
39
40perl v5.38.0                      2N0e2t3:-:0C7L-I2:1:Interact::Transport::Loopback(3pm)
Impressum