The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Decision::Table::Complete

If this decision table is used there must be on condition/action pair that gets executed, otherwise the decision fails. This is very helpfull where precise handling of all eventualies is expected. So you can be sure that you handle all constellations of conditions with an appropriate action. The contra point is that you may need extreme big tables when you have many conditions (n^n).

$dt->table

Returns a complete table of the condition status. The format is

 $condition_id => action_result 

where the action result is often true || false.

 {
   '1' => false,
   '0' => true,
   '2' => true
 };

Note that you just need to reverse the hash to know if one of the tests failed.