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

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.

BUILD

For Moose.

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.

http://www.opensource.org/licenses/mit-license.php

AUTHOR

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