Group
Extension

Matches 1

FSM-Basic ( F/FD/FDULAU/FSM-Basic-0.24.tar.gz, FDULAU, 2020; MetaCPAN )
FSM-Basic/lib/FSM/Basic.pm ( view source; MetaCPAN )
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) =

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.