文件名称:State-Machine:简单的状态机实现
文件大小:27KB
文件格式:ZIP
更新时间:2024-07-16 14:57:38
名称 State::Machine - 简单的状态机实现 版本 版本 0.07 地位 概要 use State::Machine; use State::Machine::State; use State::Machine::Transition; # light-switch circular-state example my $is_on = State::Machine::State->new(name => 'is_on'); my $is_off = State::Machine::State->new(name => 'is_off'); my $turn_on = State::Machine::Transition->new( name => 'turn_on', result => $is_on ); my $turn_off = State::
【文件预览】:
State-Machine-master
----.gitignore(323B)
----CHANGES(833B)
----t()
--------state()
----.travis.yml(166B)
----LICENSE(18KB)
----README.mkdn(4KB)
----INSTALL(961B)
----lib()
--------State()
----cpanfile(308B)
----dist.ini(2KB)
----README(3KB)
----Makefile.PL(1KB)
----weaver.ini(375B)
----.mailmap(0B)