rface (like SWITCH or ROUTER interface)
Perhaps a little code snippet.
The HASH is easily using a JSON file
use FSM::Basic;
my $fsm = FSM::Basic->new( \%states, 'accept' );
my $final = 0
nds
e.g.
"h(elp)?|\\?": {
"output": "default\nexit\ntimeoutA\n__PROMPT__"
}
This json section match for 'h' 'help' or '?'
In the regex, the group capture could be used in the comma
d timer usage
In this example if destination IP from the SSH connection is available, the file IP.json is used as definition
(with fallback to fake_bash1.pl)
=cut
sub new {
my ($class, $l, $s) =