-
-
17 Oct 2020 16:18:04 UTC
- Distribution: Test-Run
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Clone repository
- Issues (0)
- Testers (54 / 0 / 0)
- Kwalitee
Bus factor: 1- 93.61% Coverage
- License: mit
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (107.99KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
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/.
Module Install Instructions
To install Test::Run, copy and paste the appropriate command in to your terminal.
cpanm Test::Run
perl -MCPAN -e shell install Test::Run
For more information on module installation, please visit the detailed CPAN module installation guide.