in reply to Re: A port of "Dukedom" to Perl
in thread A port of "Dukedom" to Perl

Yes, the latter. I seem to be coming up with a state-machine approach that saves state whenever input is needed (via Storable and SQLite?) and then throws an exception object (Throwable) that alerts the application code to what kind of input is needed and how to re-enter the state-machine once it is available.

Conceivably there could be helper modules implementing a Display Role.

You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.

Replies are listed 'Best First'.
Re^3: A port of "Dukedom" to Perl
by Your Mother (Archbishop) on Oct 08, 2014 at 16:17 UTC

    And there are others besides what Tux brought up; Data::MessagePack for (maybe best?) speed and JSON::XS for Storable-level speed + human readability + best portability.