Hi All,
Just wanted to follow up on the conversation of the last few days about my new module, FSA::Rules. I've just uploaded 0.10, a version which introduces a backwards incompatibility (was anyone else using it yet?) by adding state objects, per requests from a number of people. After Ovid added stracktrace methods and result and message methods in 0.07, it became clear that we really needed to encapsulate the state interface separately from the engine interface. So that's what I've done for 0.10. Now state objects will be passed to the action code references, and the current and new state objects will *both* be passed to the switch action code references.
Other changes in this release:
* Added an optional first argument to new() that's a hashref, so that you can set attributes in new(), start the engine up, etc.
* Added a "strict" attribute to force the evaluation of all possible switch rules and to throw an exception if more than one returns a true value.
* Added a notes() method for those uncomfortable with the idea of using direct hash reference on the objects.
* Added states() method to get back a list of states objects in the machine.
See the Changes file for a complete list of changes.
Enjoy!
David
Begin forwarded message:
From: PAUSE <[EMAIL PROTECTED]> Date: December 17, 2004 3:34:17 PM PST To: "David Wheeler" <[EMAIL PROTECTED]> Subject: CPAN Upload: D/DW/DWHEELER/FSA-Rules-0.10.tar.gz Reply-To: [EMAIL PROTECTED]
The uploaded file
FSA-Rules-0.10.tar.gz
has entered CPAN as
file: $CPAN/authors/id/D/DW/DWHEELER/FSA-Rules-0.10.tar.gz size: 19654 bytes md5: 91b8c27c554ad494707c50d514fd7af8
No action is required on your part Request entered by: DWHEELER (David Wheeler) Request entered on: Fri, 17 Dec 2004 23:32:35 GMT Request completed: Fri, 17 Dec 2004 23:34:16 GMT
Thanks, -- paused, v460
