- or download this
%command_list =
qw(
...
help help()
log log_status()
);
- or download this
%log =
qw(start start_logs()
stop stop_logs()
);
}
- or download this
$command = <STDIN>; # assume $command="log start"
@cl =split / /,$command;
...
eval $command_action; die "\n" if $@;
}