NAME

Test::Run::Obj::IntOrUnknown - an object representing a int or unknown.

DESCRIPTION

Inherits from Test::Run::Base::Struct.

METHODS

$class->create_unknown()

Creates an unknown value.

$class->create_int($integer)

Creates an integer value.

zero()

A new 0 constant.

$class->init_from_string("??" | [Integer])

Inits a value from a string.

$self->get_string_val()

Returns "??" if the value is undefined or its numeric value otherwise.

SEE ALSO

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

COPYRIGHT

Copyright by Shlomi Fish, 2009.

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/.