NAME

Test::Run::Base::Struct - base class for Test::Run's "structs", that are simple classes that hold several values.

DESCRIPTION

Inherits from Test::Run::Base.

METHODS

$struct->inc_field($field_name)

Increment the slot $field_name by 1.

$struct->add_to_field($field_name, $difference)

Add $difference to the slot $field_name.

SEE ALSO

Test::Run::Base, Test::Run::Obj, Test::Run::Core

LICENSE

This file is freely distributable under the MIT X11 license.

AUTHOR

Shlomi Fish, http://www.shlomifish.org/.