1Test::Run::Obj::IntOrUnUksneorwnC(o3n)tributed Perl DocuTmeesntt:a:tRiuonn::Obj::IntOrUnknown(3)
2
3
4
6 Test::Run::Obj::IntOrUnknown - an object representing a int or unknown.
7
9 Inherits from Test::Run::Base::Struct.
10
12 $class->create_unknown()
13 Creates an unknown value.
14
15 $class->create_int($integer)
16 Creates an integer value.
17
18 zero()
19 A new 0 constant.
20
21 $class->init_from_string("??" | [Integer])
22 Inits a value from a string.
23
24 $self->get_string_val()
25 Returns "??" if the value is undefined or its numeric value otherwise.
26
28 Test::Run::Base::Struct, Test::Run::Obj, Test::Run::Core
29
31 Copyright by Shlomi Fish, 2009.
32
34 This file is freely distributable under the MIT X11 license.
35
36 <http://www.opensource.org/licenses/mit-license.php>
37
39 Shlomi Fish, <http://www.shlomifish.org/>.
40
41
42
43perl v5.30.0 2019-07-26 Test::Run::Obj::IntOrUnknown(3)