Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^12: a State machine with Roles - possible? (class or instance)

by mascip (Pilgrim)
on Jun 01, 2013 at 11:13 UTC ( #1036417=note: print w/replies, xml ) Need Help??


in reply to Re^11: a State machine with Roles - possible? (class or instance)
in thread a State machine with Roles - possible?

Eventually, an example with 2 doors later in this thread. It has 2 doors that can be opened/closed, and locked/unlocked.

The same could be achieved with only 2 Roles (CanBe::Opened, CanBe::Locked), which would each have a state. But still, i'm happy to have learned how to unapply a Role.

  • Comment on Re^12: a State machine with Roles - possible? (class or instance)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1036417]
help
Chatterbox?
[MidLifeXis]: Speaking of which, anyone know of Perl positions in the MKE area (or slightly west)?
[Corion]: MidLifeXis: Oh, enjoying the show from the sidelines I see...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2017-03-23 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (286 votes). Check out past polls.