1Test::Run::Base::StructU(s3e)r Contributed Perl DocumentaTteisotn::Run::Base::Struct(3)
2
3
4
6 Test::Run::Base::Struct - base class for Test::Run's "structs", that
7 are simple classes that hold several values.
8
10 Inherits from Test::Run::Base.
11
12 BUILD
13 For Moose.
14
16 $struct->inc_field($field_name)
17 Increment the slot $field_name by 1.
18
19 $struct->add_to_field($field_name, $difference)
20 Add $difference to the slot $field_name.
21
23 Test::Run::Base, Test::Run::Obj, Test::Run::Core
24
26 This file is freely distributable under the MIT X11 license.
27
28 <http://www.opensource.org/licenses/mit-license.php>
29
31 Shlomi Fish, <http://www.shlomifish.org/>.
32
33
34
35perl v5.36.0 2023-01-20 Test::Run::Base::Struct(3)